Get premium membership and access questions with answers, video lessons as well as revision papers.

What makes a static member variable different from other variables in C++ language?

      

What makes a static member varible different from other member variables in C++ language?

  

Answers


Davis
Unlike a normal member variable, for which object has its own copy, only one copy of a static member variable exists, and it is shared by all objects of that class.
Githiari answered the question on February 12, 2018 at 12:42


Next: What type of object is obtained by the typeid operator in C++ programming?
Previous: What header must be included in a C++ program when using array-based I/O ?

View More Computer Science Questions and Answers | Return to Questions Index


Learn High School English on YouTube

Related Questions