摘要: 1.类型增强 ①C中的const修饰的变量可以通过指针进行修改,例如: const int a=10; int *p=&a; //将const int*强转为int*,编译不会报错; *P=20; 而C++中的const是真正的const,不初始化将会进行报错,且不能讲const int * 隐式转 阅读全文