Quiz · Functions · lesson 3 of 13
Quiz — copy or reference
What does the program print?
#include <iostream>
int reset(int x) {
x = 10;
return x;
}
int main() {
int n = 1;
int m = reset(n);
std::cout << n << ' ' << m;
}Subscribe to take the course
The course is free. Sign in with Telegram and subscribe to the channel to open every lesson.