如题目或答案有误,请通过BUG反馈告知我们修正,谢谢!
1
2
4
5
enum a={one,two,three};
enum a{one=9,two=-1,three};
enum a={″one″,″two″,″three″};
enum a{″one″,″two″,″three″};
char *str; str="string";
char str[7]={'s','t','r','i','n','g'};
char str1[10];str1="string";
char str1[]="string",str2[]="12345678";
9
10
0
p+=2,*(p++)
p+=2,*++p
p+=3,*p++
p+=2,++*p
语句p=&obj;是把对象obj赋值给指针变量p
语句Sample *p, obj;会调用两次类Sample的构造函数
对语句*p.Set(5)的调用是正确的
语句p->Set(5)与语句obj.Set(5)等价
20
24
25
30
34
35
3
<=
=
%
&&
s\\t
s\t
s\
s
提交答案
推荐工具