Computer Science, asked by Harshi666, 1 year ago

evaluate the following expressions if the values of variables are:
a=2,b=3 and c=9

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


Harshi666: hello
Harshi666: do u have a holiday today??

Answers

Answered by Anonymous
80

Hi,

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

2 - (3) * (8)

2 - 24

-22 Ans

________________________________________

b) a * (++b) % c

2 * 4 % 9

8 % 9

8 Ans


FYI % is symbol of remainder



Harshi666: k... then... maybe tomorrow after 6 pm
Harshi666: fn..
jack6779: hey you are disturbing harshi
Harshi666: hey.. no
Harshi666: it is fine
jack6779: oh
Harshi666: hello. Jack
jack6779: hi
Answered by dev9779
19

Answer:

-22

Explanation:

2-(3)*(8)

2-3*8

2-24

PLS SUCRIBE DAM ORIGNALS ONLY ON YOUTUBE

Similar questions