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
Biology,
3 months ago
Science,
3 months ago
Business Studies,
6 months ago
Math,
6 months ago
World Languages,
11 months ago
Geography,
11 months ago