Trusted by millions of Kenyans
Study resources on Kenyaplex

Get ready-made curriculum aligned revision materials

Exam papers, notes, holiday assignments and topical questions – all aligned to the Kenyan curriculum.

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

Answer Attachments

Exams With Marking Schemes

Related Questions