what is the output of this ?with explanation please.. int x=2 , y=3 , z=0 ; z=(x++)*(x++)+(++y)*(++y) ; cout << z ; | Sololearn: Learn to code for FREE!
New course! Every coder should learn Generative AI!
Try a free lesson
- 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
2 Answers
+ 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