Q. Which of the following is the correct way to define a static member variable in C++?
β
Correct Answer: (C)
Both A and B
Explanation: Both 'static int x;' and 'int static x;' are valid ways to define a static member variable in C++.