C++20 sections · 1024 units
Open in CourseQuiz: References
Understanding aliases
Check Your Understanding
What does this code print? int x = 5; int& ref = x; ref = 10; cout << x;
- A.Compiler error
- B.5
- C.The address of x
- D.10
Understanding aliases
What does this code print? int x = 5; int& ref = x; ref = 10; cout << x;