What is the scope of an automatic variable?

What is the scope of an automatic variable?

What is the scope of an automatic variable? mcq and its answer is provided on this page.

What is the scope of an automatic variable?

Que. What is the scope of an automatic variable?
a. a) Exist only within that scope in which it is declared
b. b) Cease to exist after the block is exited
c. c) Exist only within that scope in which it is declared & exist after the block is exited
d. d) All of the mentioned
Answer: c
Explanation : None.


Comments