1. Evaluate the following expressions, if the values of the variables are:
a =2, b =3, and c =9
(a) a - (b++)*(--C);
(b) a*(++b)%C;
plz help fast it's very very urgent
Answers
Answered by
4
Answer:
a) a-(b++)* (-c);
2-(3) * 8
2- 24
-22
b) a * ( b++)% c
2 * 4% 9
8% 9
8 Ans
Answered by
1
Answer:
a) 8 and b)0
Explanation: a) 2-(3++)*(--9)
=2-3*8 (because of postfix and prefix)
=8
b) 2*(++3)%8 (value of will be same of first one)
= 2*4%8
=0
please like it
Similar questions