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

🎲 Try a Random Question  |  Total Questions in Quiz: 230  |  🧠 Study this quiz with Flashcards
This question is part of a full practice quiz:
Object Oriented Programming Using C++ Practice Test — practice the complete quiz, review flashcards, or try a random 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++;