Q26
What is the purpose of the 'static' keyword in a function declaration in C++?
A.
It allows a function to be accessed from other files
B.
It restricts the scope of the function
AnswerC.
It indicates that the function is a member function
D.
It allocates memory for the function
Answer: Option B
Solution
Answer: Option B
No explanation is given for this question Let's Discuss on Board