What will be the output of the following: a=2 b=3 and c=9 a)a-(b++)*(--c) b)a*(++b)%c
Answers
Answered by
1
Answer:
a) -22 and b) 8
Explanation:
a) a - (b++ ) * (--c)
= 2 - 3 * 8
= 2 - 24 = - 22
b) a * (++b ) % c
= 2 * 4 % 9
= 8 % 9
= 8
Similar questions