Computer Science, asked by bearmochi78, 8 months ago

pls solve thisit's really urgent, NO SPAM​

Attachments:

Answers

Answered by ArghyaPratim
1

Answer:

39

Explanation:

See, a++ first stores the number then adds

Like b=a++; so b=7 but a is increased to 8

++a first adds then stores the number

Like b=++a; so b= 8 and a also increased to 8

a+= a++ + ++a + --a + a--

a= a + (7 + 9 + 8 + 8)

a= 7+ 32

a= 39

Answered by anildeny
0

Answer: 39

Explanation:

hi dear,

here is your answer

a ++  will be storing the number then will be added

Just like b = a ++;

so b=7  

in this a is increased to 8.

did u notice??

In this case ,

++a wil be first added then the number will be stored.

Just like b=++a;

so b= 8

in this a also increased to 8

a+= a++ + ++a + --a + a--

a= a + (7 + 9 + 8 + 8)

a= 7+ 32

a= 39

Similar questions
Science, 8 months ago