What will be the values of x, m and n after the execution of the fo

Loading

Choose the correct option.

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++;

 

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

Leave a Comment