If I were to declare a constant variable but not initialize it, could I do so on another line?
Yes, just like any other variable. However it is best practice to do declare them on the same line.
const int NUM;
cout << "Hello world";
NUM = 5;
Topic archived. No new replies allowed.