C++ Containers Question:
Download Questions PDF

What are static automatic variables?

Answer:

The static automatic variables, as with local variables, are accessible only within the function in which it is defined. Static automatic variables exist until the program ends in the same manner as external variables. In order to maintain value between function calls, the static variable takes its presence.

Download C++ Containers Interview Questions And Answers PDF

Previous QuestionNext Question
What are External variable?What is a container class? What are the types of container classes?