Computer Science, asked by sarithapallekala, 1 month ago

1. Evaluate the following expressions:
1. i)
++a-b--;
ii) a%b++;
(given a=10, b=8)
2. i) x=++y +2y if
ii) x=y++ +2y if y=5
3. -32
- 32 8 6?
6?
y=5
4.x=3
x+= x++ + --x + 4;
5.
int i=8, ;=5,k
What will be the value of
i) k = (j == 5 )? i : j
ii) i -= ( j >=0 ) ? j : 0​

Answers

Answered by umerusman862162
0

Answer:

i)

++a-b--;

ii) a%b++;

(given a=10, b=8)

2. i) x=++y +2y if

ii) x=y++ +2y if y=5

3. -32

- 32 8 6?

6?

y=5

4.x=3

x+= x++ + --x + 4;

5.

int i=8, ;=5,k

What will be the value of

i) k = (j

Explanation:

== 5 )? i : j

ii) i -= ( j >=0 ) ? j : 0​

Answered by nijidhan
0

Answer:

your answer is 3

Explanation:

this might can help you

Similar questions