14.08.2012, 12:26
Prevent arrays from being modified, with that const.
It will not be changed.
And it will cause error and warning:
Код:
stock fail(const msg[]) { msg[0] = '0'; }
And it will cause error and warning:
Код:
error 022: must be lvalue (non-constant) warning 215: expression has no effect