Q. Which of the following is the correct way to declare a constant in C++?
β
Correct Answer: (C)
Both A and B
Explanation: Both 'const int x = 10;' and 'int const x = 10;' are correct ways to declare a constant in C++.