Which of the following statements is INCORRECT about the storage classes in C?
AThe scope of variable in automatic storage class is local to the block in which the
variable is defined.
BIn Register storage class, the default initial value of the variable is zero.
CIn static storage class, the default initial value of the variable is zero.
DIn Register storage class, the storage of a variable is CPU register.
Show answerHide answer
Correct answer: (B) In Register storage class, the default initial value of the variable is zero.
Explanation
Register variables, like automatic ones, have a garbage (undefined) initial value if not initialised; only static and global variables default to zero. So statement B is incorrect.