0

Please help me. I got 12 in postfix increment. It's supposed to add only one right

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

4th Jul 2022, 3:53 PM
Learning
2 Answers
+ 1
Learning b = a++; Here you have assigned value of a to b so b = 11 Now after assigning a will be increase by 1 so a = 12
4th Jul 2022, 4:06 PM
AÍąJ
AÍąJ - avatar
0
Learning ++x first increment then assign x++ first assign then increment
4th Jul 2022, 4:08 PM
AÍąJ
AÍąJ - avatar