...
In this non-compliant code example, the msg
array has file scope. The programmer sets the value of the msg
variable array report_error()
function sets, expecting it to reuse it be accessed outside the block. Due to Because the reuse of the variable name is reused, however, the outside msg
variable value is not changed.
...