问答题
简答题
声明一个int型变量a,一个int型指针p,一个引用r,通过p把a的值改为10,通过r把a的值改为5。
【参考答案】
int a; int*p=&a; int &r=a; *p=10; r=5
点击查看答案
