If a = 5 and b = 9 ... then find a+ = a++ - ++b +a
Answers
Answered by
2
Answer:
hope it will help u . here is your answer
Attachments:
Answered by
2
Answer:
Explanation: here, a++ is postfix so the value of a++will be 5 only then ++b is prefix it will increases by +1 so the value of ++b will be 10. The value of a will be 6 because it will print the memory value of a++. a+= 5-10+6
=-5+6
a+=1
a= a+1
=5+1=6
Attachments:
Similar questions