What will be the output of program segment?
Int a=0,b=10,c=50;
a= --b +c ++ +b;
Answers
Answered by
0
Answer:
answer is 68
Explanation:
a=9+50+9
a= 63
Answered by
1
Answer is 68.
a = 9 + 50 + 9
a= 68
Pre increment operator first assign then increments the value that’s why b is 50.
a = 9 + 50 + 9
a= 68
Pre increment operator first assign then increments the value that’s why b is 50.
Similar questions