Computer Science, asked by umamondal2008, 6 days ago

wap to evaluate the expression x= B^2 -4*b for all values of b from 4 to 16​

Answers

Answered by studinesh10212
0

Explanation:

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

22

WORKING

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

⇒ 2 - 3 * 8 [∵ b++ uses current value of b in expression and then increments it, --c decrements c to 8 and then uses this 8 in the expression]

⇒ 2 - 24

⇒ -22

(b) a * (++b) % c;

8

WORKING

a * (++b) % c

⇒ 2 * 4 % 9 [∵ ++b increments b to 4 then uses it in the expression]

⇒ 8 % 9

⇒ 8

Answered by AnanthBaluragi
0

Answer:

the answers are

0

-4

-8

-12

-16

-20

-24

-28

-32

-36

-40

-44

-48

-52

-56

-60

Explanation:

please give me brainliest answer

Similar questions