Scope of an automatic variable _______________

Scope of an automatic variable _______________
A. Is actually the whole program
B. Is actually never fixed
C. Is always equal to the whole program execution
D. Is actually function or block in which it is defined
 
Answer: d
Explanation: The automatic variables scope is limited only within the block or the function where those are defined. This is the property of all the automatic variables.
 

Tìm kiếm

Back
Top