+ 2
The output of program given in description is 1 and i m not able to understand why ? Plz explain it. Thank you
#include <iostream> using namespace std; int main() { int x = 1; x=x++; cout<<x; return 0; }
9 Answers
+ 1
yup got it.
+ 1
thnx
0
i cant understand the part where x is being rewritten