P

Priyanka Tomar • 35.28K Points
Coach

Q. 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
  • Correct Answer - Option(B)
  • Views: 57
  • Filed under category C++

No solution found for this question.
Add Solution and get +2 points.

You must be Logged in to update hint/solution

Discusssion

Login to discuss.

Be the first to start discuss.


Question analytics