exercise 2.29
Author: iamclancyliangCreated Aug 25, 2019Updated Aug 24, 2022
p2 = p1; // illegal. p2 is a const pointer. ic = *p3; // illegal. ic is a const int. I think that two answers are legal,not illegal,beacuse I can run them in TMD gcc-4.92
Source: Mooophy/Cpp-Primer