✅ The verified answer to this question is available below. Our community-reviewed solutions help you understand the material better.
What is the output of the following code?
int x = 10;
int& xRef = x;
cout << ++x << " - ";
cout << xRef++ << " - ";
cout << x << " - " << (x==xRef) << endl;
Get Unlimited Answers To Exam Questions - Install Crowdly Extension Now!