Please friends help me to solve this question
Attachments:
Answers
Answered by
1
Step-by-step explanation:
see a++ and ++a work on basis of use then change and change then use respectively
A=2 , B=3
B=A++ + B-- so
B = 2 +3 =5
now the value of A has to 3.
A=A-- + ++B (use then change)
A=3 + 6= 9
new value of B is equal to 6
B= ++A + --B
B=10+5=15
FINAL VALUES
A=10
B=15.
hope it helps you...
happy friendship day
Similar questions