-
int *p = &a; int *&q = p;查看全部
-
函数参数默认值最有段必须有参数。查看全部
-
说一个比较好记的方法来区分 int const *p与 int* const p,把*读作pointer to然后从后往前读. 第一个int const *p就可以读作 p is a pointer to const int,p是指向常量的指针 第二个int* const p就可以读作 p is a const pointer to int,p是指向int型的常指针查看全部
-
int const a=3;int *p=&a; p是a的别名,拥有读写权限,a由于const控制,只有读权限;因此,这样做会造成权限的溢出。查看全部
-
Important查看全部
-
const与指针类型。查看全部
-
const与指针类型。查看全部
-
int *&q=p; *q=20;查看全部
-
为何传输的是xy呢?查看全部
-
引用做函数参数查看全部
-
引用做函数参数查看全部
-
引用做函数参数查看全部
-
指针的引用查看全部
-
对别名的操作也会改变原变量的值查看全部
-
const查看全部
举报
0/150
提交
取消