+ 1
Why output of same program is different in Java & C++
int x=10; x=x++; x=x++; x=x++; SOP(x); //10 cout<<x; //13
4 Answers
+ 6
Because compilers from different languages act differently.
+ 1
so can you explain me internal flow of the above code why output is 10 in java?
+ 1
so can you explain me internal flow of the above code why output is 10 in java?
0
Syntax and Compilation process for c++ and Java both are different. Both the language has its on different process.