// Using a properly initialized constant variable.
#include <iostream>
using namespace std;
int main()
{
const int x = 7; // initialized constant variable
cout << "The value of constant variable x is: " << x << endl;
} // end main






0 comments:
Post a Comment