Sail E0 Webinar
Question

What will be the values of x, m and n after the execution of the following statements?
int x, m, n;
m = 10;
n = 15;
x = ++m + n++;


Options:
A .  x=25, m=10, n=15
B .  x=26, m=11, n=16
C .  x=27, m=11, n=16
D .  x=27, m=10, n=15
Answer: Option B




Submit Your Solution Below and Earn Points !
Next Question

Submit Solution

Your email address will not be published. Required fields are marked *

Latest Videos

Latest Test Papers