+ 4

{int x=1; cout<<" ×:"<<x<<endl;} in this programe how i can change the value of x, which opposite the const keyword

13th Sep 2016, 9:39 AM
Bint E Asif
Bint E Asif - avatar
3 Answers
+ 1
thanks
2nd Jan 2017, 7:54 AM
franklin
franklin - avatar
+ 4
thnxx...it was so easy
13th Sep 2016, 10:12 AM
Bint E Asif
Bint E Asif - avatar
+ 3
Just reassign a value to x. int x = 1; x = 42; cout << "x: " << x << endl;
13th Sep 2016, 10:08 AM
Zen
Zen - avatar