Vidyalelo
C++ Programming · Q22

Object Oriented Programming in C++

Programming · C++ Programming · question 22

Q22

What is the purpose of the 'static' keyword in C++?

A.
To access class member functions
B.
To specify the type of a variable
C.
To allocate memory dynamically
D.
To create class-level variables and functions
Answer

Answer: Option D

Solution

Answer: Option D
No explanation is given for this question Let's Discuss on Board