Aug 30, 2014 at 2:43pm
Hi,
Can somebody explain to me, how does the below code works? The answer is 8, 10 and 9 respectively but I don't know how to get to the answer.
int k = 8;
cout << k++ << endl;
cout << k + 1 << endl;
cout << k << endl;
Last edited on Aug 30, 2014 at 2:44pm