Computer Science, asked by atmaprakash57, 9 months ago

give the output of the following expression in Java a=a++ + ++a + --a + a--. ;when a=7​

Answers

Answered by saropath
1

Answer:

a++ means a + 1

Therefore if a = 7

Then increment a++ gives 7 + 1 = 8

Then increment ++a gives 7 - 1 = 6

Similar questions