+ 2

What is the VALUE of ' x ' ? And How ?

i=1; x=5; x+=++x*2 + i++ + ++x + ++i*4;

7th Dec 2017, 7:47 AM
Pradyumn Kumar Singh
Pradyumn Kumar Singh - avatar
6 Answers
+ 8
In java it is 37 In c++ it is 39
7th Dec 2017, 9:13 AM
Cool Codin
Cool Codin - avatar
+ 1
it's 37 @cool codin
7th Dec 2017, 9:09 AM
Pradyumn Kumar Singh
Pradyumn Kumar Singh - avatar
+ 1
thank u @deepak and @cool codin
7th Dec 2017, 9:34 AM
Pradyumn Kumar Singh
Pradyumn Kumar Singh - avatar
+ 1
thank u @cool codin u made my concept clear
7th Dec 2017, 12:35 PM
Pradyumn Kumar Singh
Pradyumn Kumar Singh - avatar
0
@cool codin wrong answer
7th Dec 2017, 9:03 AM
Pradyumn Kumar Singh
Pradyumn Kumar Singh - avatar