Computer Science, asked by vanshnegi1584, 7 months ago

 If int a=2, b=1 then find the output of the following : ++a + b-- +a-- * ​

Answers

Answered by dattarajshinde44
0

Answer:

7.0

Explanation:

Answered by anindyaadhikari13
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