+ 3

Why b is 6 in this question ❓

please explain.. https://code.sololearn.com/c4MVoNASn1so/?ref=app

6th Jun 2022, 12:51 AM
filibuster
filibuster - avatar
2 Respuestas
+ 2
a++ return 2 (but the value of a is 3 and ++a return 4 ( the value of a is 4) :: 2+4=6
6th Jun 2022, 4:59 AM
Mihir Lalwani
Mihir Lalwani - avatar