Question PRG-CPP-0024
EasyWhat is the output of this program?
#include <iostream>
using namespace std;
int main() {
int x = 4;
int &r = x;
r = 9;
cout << x;
return 0;
}
- A.
4
- B.
9
- C.
13
- D.
An address
Sign up free to see the answer and a step-by-step explanation.