Computer Science
If a = 0, b = 30, c = 40; then find the value of 'a' when:
a += --b + c++ + b;
Java
Java Operators
43 Likes
Answer
a = 98
Working
a = --b + c++ + b
⇒ a = 29 + 40 + 29
⇒ a = 98
Answered By
20 Likes
Related Questions
Define the following with the help of truth table:
Bitwise XOR
Define the following with the help of truth table:
Bitwise OR
What will be the output when the following statements are executed?
int v,s,n=550; s = n + v > 1750? 400:200;
When,
(a) v = 500
(b) v = 1500
If m = 5, n =2; what will be the output of m and n after execution?
(a) m -= n
(b) n = m + m/n;