Is initialisation mandatory for local static variables?

Is initialisation mandatory for local static variables?

Is initialisation mandatory for local static variables? mcq and its answer is provided on this page.

Is initialisation mandatory for local static variables?

Que. Is initialisation mandatory for local static variables?
a. Take C Programming Tests Now!
b. a) Yes
c. b) No
d. c) Depends on the compiler
e. d) Depends on the standard
Answer: b
Explanation : None.


Comments