// Fig. 4.6: fig04_06.cpp // Using a properly initialized constant variable. #include using std::cout; using std::endl; int main() { const int x = 7; // initialized constant variable cout << "The value of constant variable x is: " << x << endl; return 0; // indicates successful termination } // end main