Computer Science, asked by kushalyngowda, 6 months ago

Give the output of the following expression, when a = 5: [2]
a += a++ + ++a + --a + a--;
System.out.println(a);

Answers

Answered by keyboardavro
1

Answer:

refer to another question and follow the steps

Explanation:

Give the output of the following expression :

a+=a++ + ++a + -–a + a-– ;  when a = 7

a+=a++ + ++a + –-a + a–- ;

a = 7 + (a++ + ++a + -–a + a–-);

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

a = 39

Similar questions