你可能感兴趣的试题
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);
char s[5]="ABCDE"; char s[5] ='a','b','c','d','e'; char *s;s="ABCDEF" char *s;scanf("%s",s);
char s[5]="ABCDE"; char s[5]='A','B','C','D','E'; char*s;s="ABCDE"; char*s;char a;scanf("%s",&s);
char s[5]={"ABCDE"}; char s[5]={'A','B','C','D','E'}; char*s;s="ABCDE"; char*s;scanf("%s",;
chars[5]="ABCDE"; char s[5]='A','b','C','D','E'; char*s;s="ABCDE"; char*s;scanf("%s",s);
char s[5]="ABCDE"; char s[5]='A','B','C','D','E'; char*s;s="ABCDE"; char*s;scanf("%s",s);
chars[5]={"ABCDE"}; char s[5]={'A','b','C','D','E'}; char*s;s="ABCDE"; char*s;scanf("%s",;
char s[5]="ABCDE"; char s[5]='A','b','C','D','E'; char *s;s="ABCDE"; char *s;scanf("%s",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):
char s[5]="ABCDE"; char s[5]='A','b','C','D','E'; char *s;s="ABCDE"; char *s;scanf("%s",s);
字符数组可以存放字符串 字符数组中的字符串可以整体输入、输出 可以在赋值语句中通过赋值运算符“=”对字符数组整体赋值 不可以用关系运算符对字符数组中的字符串进行比较
char st [4][5]="ABCDE"; char s[5]='A','B','C','D','E' char*s;s="ABCDE"; char*s;scanf(”%s”,s);
char s[5]={"ABCDE"}; char s[5]={'A','B','C','D','E'}; char*s;s="ABCDE"; char*s;char a;scanf("%s",&;
char *sss;*sss="hello!"; char *sss;sss="hello!"; char sss[8];sss="hello!"; char sss[8];*sss="hello!";
char s[5]="ABCDE" char s[5]='A','B','C','D','E'; char *s;s="APCDEF" char *s;scanf("%s",s);
char s[5]={"ABCDE"}: chars[5]={'A'、'B'、'c'、'D'、'E'}; char*s;s="ABCDEF"; char*s; scanf("%s",:
char s[5]={"ABCDE"} char s[5]={'A','B','C','D','E'}; char *s;s="APCDEF" char *s;scanf("%s",;