ISO C90 forbids variable length array

const-qualifying a variable doesn’t make it a compile-time constant (see C99 6.6 §6 for the defintion of an integer constant expression), and before the introduction of variable-length arrays with C99, array sizes needed to be compile-time constants. It’s rather obvious that const-qualify a variable doesn’t make it a compile-time constant, in particular in case of … Read more