3 karma · joined Jul 16, 2015 (11y ago) · 2 submissions
comment 7y ago · link · parent
const size_t buffer_size = 5; int buffer[buffer_size];
compiles fine in c, but not for the same reason. C99/C11 has dynamic arrays
https://en.wikipedia.org/wiki/Variable-length_array#C99
comment 11y ago · link · parent