你可能感兴趣的试题
chars[5]={"ABCDE"}; chars[5]={'A','B','C','D','E'}; char*s;s="ABCDE"; char *s;scanf("%s",&;
char s[5]=’a’,’b’,’c’,’d’,’e’; char*s;gets(s); char*s;s="ABCDEF"; chars[5];scanf("%s",&s);
chars[5]="ABCDE"; char s[5]='A','b','C','D','E'; char*s;s="ABCDE"; char*s;scanf("%s",s);
char*s;s=”Olympic"; chars[7];s="Olympic"; char*s;s="Olympic"; chars[7];s="Olympic";
chars[5]={"ABCDE"}; char s[5]={'A','b','C','D','E'}; char*s;s="ABCDE"; char*s;scanf("%s",;
char s[5]='a','b','c','d' ', 'e'; char*s;gets(s); char*s;s="NOQRS"; chars[5];scanf(" %s",&s);
char s[5]="ABCDE": chars[5]=’A’、’B’、’c’、’D’、’E’; char*s;s="ABCDEF"; char*s; scanf("%s",s):
ch='123'; ch='/xff'; CH='/08'; ch="/";
语句p=&a;是把对象a赋值给指针变量p 语句A*p,a;p=&a;调用两次类A的构造函数 对语句*p.fun();的调用是正确的 语句 p->fun();和语句 a.fun();等价
chars[5]="ABCDE"; chars[5]='A','B','C','D','E'; char*s;s="ABCDE"; char *s;scanf("%s",&s);
char*s;s="Olympic"; chars[7];s="Olympic"; char*s;s="Olympic"; chars[7];s="Olympic";
语句p=&a;是把对象a赋值给指针变量p 语句A*p,a;p=&a;调用两次类A的构造函数 对语句*fun();的调用是正确的 语句 p->fun();和语句 fun();等价
chars[]; s="BOOK!"; char*s;s="BOOK!"; char s[10]; s="BOOK!"; char*s; s="BOOK!/
chars[];s="BOOK!"; char*s;s={"BOOK!"}; chars[10];s="BOOK!"; char*s;S="BOOK!";
char s[5]={"ABCDE"}: chars[5]={'A'、'B'、'c'、'D'、'E'}; char*s;s="ABCDEF"; char*s; scanf("%s",:
chars [8];s="Beijing"; char*s:s=Bei jing"); chars [8]: s="Bei jing"; char*s:s="Bei jing";
chars[];s="BOOK!"; char*s;s="BOOK!"; chars[10];s="BOOK"; char*s;s="BOOK!";
chars[10]="abedefg"; char t[]="abcdefS",*s=t; chars[10];s="abcdefg"; chars[10];strcpy(s,"abcdefg");