by moonchild · 6y ago · 0 comments
In c, an array has fixed size and dimensionality. You can, of course, create your own data structure using a pointer which allows you to access an unbounded number of objects; but that, in c parlance, is not an array.
And in c89, all variables must be declared at the beginning of a lexical scope (though not necessarily the beginning of a function).
[1]: https://en.wikipedia.org/wiki/Variable-length_array#C99