There is a very solid reason for this: const
in C does not mean something is constant. It just means a variable is read-only.
In places where the compiler requires a true constant (such as for array sizes for non-VLA arrays), using a const
variable, such as fieldWidth
is just not possible.