Baike.dev
All toolsAI codingTrendingOpen sourceNewsSubmit
Log in
Back to tool/Back to issues
#635·Cpp-Primer

Ex 2.31 Wrong Answer

Author: qdntangCreated Feb 14, 2018Updated Dec 21, 2022

r1 = v2;

It should be illegal, since reference to "int" can not bind to value of type "const int".

Source: Mooophy/Cpp-Primer

View original on GitHubView discussion on GitHub