What is wrong in const int y;
Q27. What is wrong with the following statement?
const int y;
Ans. y being a constant is not initialized. Correct version is
const int y=5;
Q27. What is wrong with the following statement?
const int y;
Ans. y being a constant is not initialized. Correct version is
const int y=5;