1.

Int a=7, evaluate the following expression :a+= a++ + ++a + --a + a--​

Answer»

n:-➡ If a=7, EVALUATE a+=a++ + ++a + --a + a--Answer:-➡ The value of a is 39.Solution:-INITIALLY, a=7a += a++ + ++a + --a + a--➡ a = 7 + 7 + 9 + 8 + 8➡ a = 39Hence, the final value of a is 39.



Discussion

No Comment Found