下面说明不正确的是A.char a[10]="china";B.char a[10],*p=a;p="china"C.char*a;a="china";D.char a[10],*P;p=a="china"
下面说明不正确的是
A.char a[10]="china";
B.char a[10],*p=a;p="china"
C.char*a;a="china";
D.char a[10],*P;p=a="china"
相关考题:
下面说明不正确的是A.char a[10]="china";B.char a[10],*p=a;p="china"C.char *a;a="china";D.char a[10],*p;p=a="china"
若有定义: char *st= "how are you "; ,下列程序段中正确的是A.char a[11], *p; strcpy(p=a+1, ,下列程序段中正确的是A.char a[11], *p; strcpy(p=a+1,st[4]);B.char a[11]; strcpy(++a, st);C.char a[11]; strcpy(a, st);D.char a[], *p; strcpy(p=a[1],st+2);
下面判断正确的是A.char*a="china";等价于char *a;*a="china";B.char str[5]={"china"};等价于char str[]={"china"};C.char*S="china";等价于char *S;S="china";D.char c[4]="abc",d[4]="abc";等价于char c[4]=d[4]="abc";
有以下程序 main() { char str[][10]={"China","Beijing"},*p=str; printf("%s\n",p+10); } 程序运行后的输出结果是A.ChinaB.BeijingC.ngD.ing
下列程序段中,不能正确赋值的是( )。A.char*p,ch; p=Ch; scanf("%c",p);B.char*p; p=char*)malloc(1); scanf("%c",p);C.char*p; *p=getchar();D.char*p,ch; p=ch; *p=getchar();
若有定义: char *st= "how are you "; 下列程序段中正确的是A.char a[11], *p; strcpy(p=a+1,st[4]);B.char a[11]; strcpy(++a, st);C.char a[11]; strcpy(a, st);D.char a[], *p; strcpy(p=a[1],st+2);
下列字符数组的初始化,正确的是( )。A.char ch[5]={"a","b","c","d","e"};B.char ch[]={'a','b'};C.char ch[15]={"welcome to china"};D.char ch[14]={"I am a student"};
下列语句错误的是( )。A.char*p="John";p[2]='a';B.char name[5]="John";name[2]='a'C.char name[5]="John",*p=name;p[2]='a';D.char name[5]="John",*p=name[2];*p='a';
下面说明不正确的是( )。A.chara[10]="china";B.chara[10],*p=a;p="chiua";C.char*a;a="china";D.chara[10],*p;p=a="china";
以下选项中,合法的是( )。A.char str3[]={d,e,b,u,g,\0};B.char str4;str4="hello world";C.char name[10];name="china";D.char strl[5]="pass",str2[6];str2=strl;
下面判断正确的是( )。A.char *a="china";等价于char *a;*a="ghina";B.char str[5]={"china"};等价于char str[]={"china"};C.char*s="china";等价于char*s;s="china";D.charc[4]="abc",d[4]="abc";等价于char c[4]=d[4]="abc";
以下程序的输出结果是( )。 main {char str[]1-10]={"china","beijing"),*p=str; printf("%s\n",p+10); }A. ChinaB.BeijingC.ngD.ing
设有以下定义: char *st="how are you";下列程序段中正确的是______。A.char a[11],*p;strcpy(p=a+1,st[4]);B.char a[11];strcpy(++a,st);C.char a[11];strcpy(a,st);D.char a[],*p;srtcpy(p=a[1],st+2);
下面说明不正确的是______。A.char a[10]="USA";B.char a[10],*p=a;p=a;p="USA";C.char*a;a="USA";D.char a[10],*p;a=p="USA";
有以下程序:include main( ){ehar str[ ] [10] = { "China" ," Beijing" } , * p = 有以下程序: #include < stdio. h > main( ) { ehar str[ ] [10] = { "China" ," Beijing" } , * p = str[o]; printf( "% s \n", p + 10); }程序运行后的输出结果是( )。A.ChinaB.BeijingC.ngD.ing
设已有定义:char*st="how are you";,下列程序段中正确的是______。A.char a[11],*p;strcpy(p=a+1,st[4]);B.char a[11];strcpy (++a,st);C.char a[11];strcpy (a,st);D.char a[], *p;strcpy(p=a[1],st+2);
以下程序的输出结果是( )。main{char str[][10]={china,beijing),*p=str;printf(%s\n,p+10);}A.ChinaB.BeijingC.ngD.ing
CAL是审查认可的英文缩写( )。A:China Metrology AccreditationB:China National Accreditation Service for Conformity AssessmentC:China Accredited LaboratoryD:China Metrology Certification
中国移动英文全称的表述是?()A、China Mobile Communication CorporationB、China Mobile Corporation CommunicationC、China Mobile Cellular CorporationD、China Mobile Corporation Cellular
下面的说明中,错误的是()。A、char a[10]= “china”;B、char a[10], *p=a; p=“china”;C、char *a; a=“china”;D、char a[10], *p; p=a=“china”;
下面判断正确的是()A、char*a="china";等价于char*a;*a="china"B、charstr[10]={"china"};等价于charstr[10];str[]={"china"};C、char*s="china";等价于char*s;s="china";D、charc[4]="abc",d[4]="abc";等价于charc[4]=d[4]="abc"
单选题_____ the first to use nuclear weapons.AAt no time China will beBNever China will beCWill China never beDAt no time will China be
单选题下面的说明中,错误的是()。Achar a[10]= “china”;Bchar a[10], *p=a; p=“china”;Cchar *a; a=“china”;Dchar a[10], *p; p=a=“china”;