Baike.dev
All toolsAI codingTrendingOpen sourceNewsSubmit
Log in
Back to tool/Back to issues
#33·Cpp_Primer_Practice

练习2.29中,d,e,f都错了

Author: muyou111Created Jul 17, 2021Updated Dec 23, 2022

d中,p3是const指针,已经存在了就不能再变化,不能再将&ic的值赋给p3; e中,同d,p2是const指针,已经初始化就不能再变化; f中,ic已经是一个常量,*p3也是一个常量,不能进行赋值操作

Source: applenob/Cpp_Primer_Practice

View original on GitHubView discussion on GitHub