int x=5, y=4, z;
z= (++x + ++y) * y++ % 2;
Answers
Answered by
0
After Execution:
z = 1
Explanation:
As, x = 5 and y = 4,
> z = (++x + ++y) * y++ % 2
> z = (6 + 5) * 5 % 2
> z = 11 * 5 % 2
> z = 55 % 2
> z = 1
Answered by
1
Question:-
- Find the value of z.
Solution:-
Given,
x=5,y=4
z=(++x + ++y) *y++%2
Or,
z=(6+5)*5%2
Or,
z=55%2
Or,
z=1
Answer:-
z=1
Similar questions
English,
3 months ago
English,
3 months ago
Business Studies,
7 months ago
Math,
7 months ago
World Languages,
1 year ago
Geography,
1 year ago