4 ms·
Of course C can do static array: int array[N]; is one.
by jenadine 3y ago
Of course C can do static array:
int array[N];
is one.
- quietbritishjim 3y agoBut not an abstract data structure that can be allocated on the stack. (Your example can go on the stack. A struct with a final array member of unspecified size can work as an abstract data structure. But you can't have both at once.)