0

How to return an array which size isn't constant

https://code.sololearn.com/cN5j7Ok4P1yU/?ref=app

12th Jul 2020, 3:38 PM
Prasetya Antoni
Prasetya Antoni - avatar
2 Respostas
+ 3
you have an Variable Length Array(VLA) with static storage specification and this is not allowed by the C99 standard. C99 Standard: 6.7.5.2/10: ... Array objects declared with the static or extern storage class specifier cannot have a variable length array (VLA) type. ...
12th Jul 2020, 5:11 PM
MO ELomari
MO ELomari - avatar