int i; const int* p1 = &i; int const* p2 = &i; int *const p3 = &i; //const在*的前面表示p所指的int不可改变 //const子*的后面表示p指针不可改变