3 ms·When did C start accepting non-constants for array size declarations?by demallien 15y agoWhen did C start accepting non-constants for array size declarations?hn_reader 15y agoI was wondering the same thing. But I can confirm it compiles and runs, though I had to supply a -std=c99 flag to gcc.demallien 15y agoAhhh, useful tip. I've just been using alloca instead...haberman 15y agoVariable-length arrays were added in C99.