int b = 3; int* ptr = &b; //says something about cannot convert int* to type const int*& const int*& ptr_ref = ptr;
提前致谢,15岁的C noob
int* const& ptr_ref = ptr;