单项选择题
A.inta,&ra=a,&&ref=ra B.int&refa[10] C.inta,&ra=a,&*refp=&ra D.int*pi,*&pref=pi
有如下说明语句inta[10]={1,2,3,4,5,6,7,8,9,10};int*p=a;则数值为9的表达...
单项选择题有如下说明语句inta[10]={1,2,3,4,5,6,7,8,9,10};int*p=a;则数值为9的表达式是()
A.*p+9 B.*(p+8) C.*p+=9 D.p+7
执行如下程序后的输出结果是() A.count=0B.count=1C.count=2D.count=3
执行如下程序后的输出结果是()
A.count=0 B.count=1 C.count=2 D.count=3
关于const关键字说法错误的是()A.const关键字可以修饰对象和成员函数B.const对象不能被修改C....
单项选择题关于const关键字说法错误的是()
A.const关键字可以修饰对象和成员函数 B.const对象不能被修改 C.const成员函数不能修改类数据成员 D.const可以用于说明类