C++ Containers Question:

What are static automatic variables?

Tweet Share WhatsApp

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 PDF Read All 19 C++ Containers Questions
Previous QuestionNext Question
What are External variable?What is a container class? What are the types of container classes?