What is the output of the following program? (35). #includ…
What is the output of the following program? (35). #include using namespace std; void tryMe(int& x); int main() { int x = 9; for (int count = 1; count < 5; count++) tryMe(x); return 0; } void tryMe(int& v) { int num = 2; if (v % 2 == 0) { num++; v = (v + 3) * num; } else { num--; v = (v + 5) * num; } cout
Read Details