Vidyalelo
C++ Programming · Q3

C++ miscellaneous

Programming · C++ Programming · question 3

Q3

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

A.
To declare a variable with dynamic storage duration
B.
To declare a constant
C.
To declare a variable with external linkage
D.
To declare a variable with static storage duration
Answer

Answer: Option D

Solution

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