What will be the output of the following code:
int value = 5;
cout << value += 3;
Since left shift operator has a higher priority than the addition assignment operator - a compilation error will occur.

Follow CodeGalaxy

Mobile Beta

Get it on Google Play
Send Feedback
Sign Up Now
or Subscribe for future quizzes