Variably modified array at file scope

The reason for this warning is that const in c doesn’t mean constant. It means “read only”. So the value is stored at a memory address and could potentially be changed by machine code.

Leave a Comment