0
Evaluate expression- (given a=15; b= 10 ) 1) a % b++ 2) ++a – b--
Help me out I'm confused!!!
2 odpowiedzi
+ 5
In both cases answer will be same 5. first you have to learn about increment amd decrement how its working after that you can calculate easily
+ 3
a = 15 and b = 10
a % b++ = 15 % 10 = 5
// b will now be 11 because of ++
++a - b-- = 16 - 11 = 5