0

Why we got -3 in it please explain this code

https://code.sololearn.com/cB5GW2SXR8vv/?ref=app

26th Aug 2021, 10:21 AM
vipasha choudhary
vipasha choudhary - avatar
1 Réponse
+ 1
a = -5 a++ is -5 and a = -4 ++a is -3 and a = -3 k = (-4, -3) = -3 https://www.tutorialspoint.com/cplusplus/cpp_increment_decrement_operators.htm
26th Aug 2021, 10:37 AM
Obloev Komronbek
Obloev Komronbek - avatar