已知p是一个指向类Sample数据成员的指针,s是类Sample的一个对象。如果要给m赋值为5,()是正确的。

A、int&x=m
B、int&y=10
C、int&z
D、float&t=&m

第1个回答  2013-10-17
答案:C、s.*p=5
相似回答
大家正在搜