1)const int m=1;与 int const m=1; 意义一样.
2) int const *p1; 对p1指向的变量的值限制,不能改变,但地址能改变.
int *const p1; 对p1指向变量的地址限制,地址不能改变,指向值能改变,
3) int *const *p1;基本与 int const *p1 一样,具体作用还在查明中.....
1)const int m=1;与 int const m=1; 意义一样.
2) int const *p1; 对p1指向的变量的值限制,不能改变,但地址能改变.
int *const p1; 对p1指向变量的地址限制,地址不能改变,指向值能改变,
3) int *const *p1;基本与 int const *p1 一样,具体作用还在查明中.....