設(shè)有以下語句: char str1[]= “string”,str2[8],*str3,*str4= “ string”; 則不能對庫函數(shù)strcpy(復(fù)制字符串)的正確調(diào)用的是()
A.strepy(str1,“HELLO1”); B.strepy(str2,“HELL02”); C.strcpy(str3, “HELL03”) D.strcpy(str4, “HELLO4”);
以下程序的輸出結(jié)果是() #include union pw {int i;char ch[2];}a; main( ) {a.ch[0]=13;a.ch[1]=0;printf(”%d\n”,a.i);} (注意:ch[0]在低字節(jié),ch[1]在高字節(jié)。)
A.13 B.14 C.208 D.209
設(shè)有以下語句(其中0≤i<10),則不能對a數(shù)組元素的正確引用是() int a[10]={0,l,2,3,4,5,6,7,8,9},*p=a;
A.a[p-a] B.*(&a[i]) C.p[i] D.*(*(a+i))