当前位置: X题卡 > 所有题目 > 题目详情

下列对字符数组进行初始化的语句正确的是( )。

查看本题答案

你可能感兴趣的试题

char s 1[]=“abcd”;  char s2 [3]=”xyz”;  char s 3[] [3]=‘a’,‘x’,‘y’  char s3 [][3]=“xyz”,“mnp”;  
char c[]='goodmorning';  char c[20]"goodmoming";  charc[]={'a','b','c','d'};  char c[]={"goodmorning"};  
char c[]=/goodmorning';  char c[20]="goodmorning";  char c[]='a','b','c','d');  char c[]="goodmorning");  
char c[]='goodmoming';  char c[20]="goodmorning";  char c[]='a','b','c','d';  char c[]="goodmoming";  
char c[]='goodmorning'; char c[20]=“goodmorning"; char c[]='a','b','c','d'; char c[]="goodmorning";  
chara[]="Hello";  chara[][]='H','e','l','l','o';  char a[5]="Hello";  chara[2][5]="Hello","World":  
charc[]='goodmorning';  char,c[20]="goodmoming";  charc[]={'a','b','c','d'};  charc[]={"goodmoming"};  
char a[]="Hello";  char a[][]='H','e','1','1','o';  char a[5]="Hello";  char a[2][5]="Hello","World";  
charc[]='goodmorning';  char,c[20]="goodmoming";  charc[]='a','b','c','d';  charc[]="goodmoming";  
char a[]="Hello";  chara[][]='H','e','1','1','0';  char a[5]="Hello";  char a[2][5]="Hello","World";  
char a []="Hello";  char a[][]={'H','e','1','1','o');  char a[5]="Hello";  char a[2][5]={"Hello", "World"};p  
char c[]='goodmorning';  char c[20]="goodmorning";  char c[]='a', …b, 'c', …d;  char c[]="ffgoodmorning";  

热门试题

更多