If int a=2, b=1 then find the output of the following : ++a + b-- +a-- *
Answers
Answered by
0
Answer:
7.0
Explanation:
Answered by
1
Answer:-
7
Step By Step Explanation:-
Given,
a=2
b=1
++a + b-- + a--
=3(pre-increment) + 1+3
=7(now a=2,b=0,post increment)
Output:-
7
Similar questions