0

How to calculate, Please help

int a, b; a = 0; b = 0; b++; ++b; b++; ++b; ++a; cout<<++a+(++a*b++)*(++a*b++)<<++b;

1st Oct 2017, 6:18 PM
Fatihullah Noory
Fatihullah Noory - avatar
5 Answers
+ 1
manually, result is 2427 but using playground, result is 3647
1st Oct 2017, 8:13 PM
MBZH31
MBZH31 - avatar
+ 1
What is hard-run result
1st Oct 2017, 6:45 PM
Fatihullah Noory
Fatihullah Noory - avatar
+ 1
2427 is the final result.
1st Oct 2017, 7:21 PM
Esmatullah Sayeedy
Esmatullah Sayeedy - avatar