Computer Science, asked by punithchowdary9597, 9 months ago

Evaluate the following expressions, a=2, b=3, c=3 1. a-(b++)*(--c)

Answers

Answered by susrutadas
0

Answer:

-4

Explanation:

The result is obtained by using the concept of postfix and prefix unary operators

Answered by suyashgupta826
0

a=2,b=3 and c=3

Expression-- a-(b++)*(--c)

a =2-(3)*(2)

a =2-6

a = -4

Explanation:

As it is b++ so it is post fix operator so first we use b=3 then increase it

as it is --c so we first decrease c by 1 so it will become 2

Similar questions