1.

What are automatic variables?(a) Global variables(b) Implicit/temporary variables(c) Local variables(d) System variablesThis question was addressed to me by my school teacher while I was bunking the class.This intriguing question comes from Automatic Variable in portion Memory Allocation & Scope of Variable of Object Oriented Programming

Answer» RIGHT option is (c) Local variables

To EXPLAIN: The local variables are also known as automatic variables. The variables in any local SCOPE that are CREATED and destroyed as the program executes its scope.


Discussion

No Comment Found

Related InterviewSolutions