0
How to return an array which size isn't constant
2 odpowiedzi
+ 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.
...