Skip to main content
Journey Uncommon Logo
JourneyUncommon
easyC++references vs pointersSingle-choice MCQ

After this code runs, what are the values of `a` and `b`?

int a = 10; int b = 20; int& r = a; r = b; b = 99;