Computer Science, asked by mehak018, 1 year ago

a += a ++ - ++b + a, if a = 5 , b = 9​

Answers

Answered by Anonymous
0

Answer:

Explanation:

A=-3

As

A+= a++ - ++b+a

A+= mean that A assign to a given no with 1 as increment

A+= 5 with 1 as increment - 9 with 1 increment

So A += 6 - 10

A += - 4

A = - 3

This equation is use in python and other languages

Plz mark as brainliest

Answered by sroyeesaha1010
1

Answer:

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

⇒ a = a + (a++ - ++b + a)

⇒ a = 5 + (5 - 10 + 6)

⇒ a = 5 + 1

⇒ a = 6

Explanation: Hope it will help..

Similar questions