0
Am I correct?
int b=2 int i=5 i += ++i *b cout<<i 1) Calculate ++i*b first: (5+1)Ă2=12 2) Then the value of i becomes 6 So 12+6=18 The answer will be 18?
1 Answer
+ 5
You can try it out in the SoloLearn playground. The big question here is which operator comes first: multiplication or increment