solve the expressions int a = 20, b=15, c=30
int r = (++a + --b) / c
Answers
Answered by
0
Answer:
The statement n += 4 is equivalent to:
++n
n=n+4 ✓
n+1
none
Question 2
What will be the output of a & b in the following, if int a, b; a=10; b=a++;
10,10
10,11
11,10 ✓
11,11
Question 3
What will be the output of a++ when int a = -1;
1
-1
0 ✓
none
Question 4
If int a = 25, b = 5, c = 0; what value is stored in c? When c = a % b;
5.0
5
0 ✓
none
Similar questions