C++ Template Question:
Download Questions PDF

Please tell me how is static data member similar to a global variable?

Answer:

The life of a static data member exists between the functions which means that they are resident through out the execution of a program like the global variables.

Download C++ Template Interview Questions And Answers PDF

Previous QuestionNext Question
Tell us what is the STL, standard template library?What is Template class?