πŸ“Š C++
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
πŸ’¬ Discuss
βœ… Correct Answer: (B) x=26, m=11, n=16

You must be Logged in to update hint/solution

πŸ’¬ Discussion


πŸ“Š Question Analytics

πŸ‘οΈ
141
Total Visits
πŸ“½οΈ
1 y ago
Published
πŸŽ–οΈ
Priyanka Tomar
Publisher
πŸ“ˆ
83%
Success Rate