const问题
书上一段:const int ci=0;
const int *p=&ci;//convert address of non-const to address of a const
后面注释的address of non-const对吗?ci不是const吗?
const int ci = 1; int i = 2; const int *p; p = &ci; // OK p = &i; // OK *p = 3; // error i = 3; // OK