+ 2

Give the output

void main() { int x; x=15; cout<<x++<<" "<<++x<<" "<<x++; getch(); }

27th Aug 2017, 1:22 PM
SURYANSH PANDEY
8 ответов
+ 10
try this in code playground: #include <iostream> using namespace std; int main() { int x; x=15; cout<<x++<<" "<<++x<<" "<<x++; return 0; } output is: 17 18 15
27th Aug 2017, 1:28 PM
P R
P R - avatar
+ 1
17 18 15
27th Aug 2017, 1:28 PM
Gabriel Pereira
Gabriel Pereira - avatar
+ 1
Output is 17 18 15 And please see this... https://www.sololearn.com/discuss/288609/?ref=app
27th Aug 2017, 2:41 PM
Dragon Slayer Xavier
Dragon Slayer Xavier - avatar
+ 1
17 17 15 is correct one
27th Aug 2017, 5:20 PM
SURYANSH PANDEY
0
15 17 17
27th Aug 2017, 3:08 PM
Aruaadarsh
0
15 17 17
27th Aug 2017, 4:48 PM
Sanjit Mondal
0
17,17,15 is correct
14th Oct 2017, 9:26 AM
Ankur Mishra
Ankur Mishra - avatar
0
15 17 17
28th Dec 2017, 9:50 AM
Aruaadarsh