+ 3
C++ question , int i=10; cout<<++i*i++;
different codeboard give me different answer please explain me the concept behind.?
3 ответов
+ 2
The reason is the pre-increment and post-increment operator that u have used.
Different compiler compiles it differently and thus u will get different result.
0
so there is no one way to do it
- 1
Isnt the answer 132?