- 2

what is the output of this ?with explanation please.. int x=2 , y=3 , z=0 ; z=(x++)*(x++)+(++y)*(++y) ; cout << z ;

int x=2 , y=3 , z=0 ; z=(x++)*(x++)+(++y)*(++y) ; cout << z ; //c++ code

16th Sep 2019, 8:26 PM
Mannar Shehab Eldin
Mannar Shehab Eldin - avatar
3 odpowiedzi
+ 1
just run it
16th Sep 2019, 8:28 PM
Anton Böhler
Anton Böhler - avatar
0
i tried but couldn't understand it !
16th Sep 2019, 8:31 PM
Mannar Shehab Eldin
Mannar Shehab Eldin - avatar