下面程序的输出结果是【 】。 main() { int arr[10],i,k=0; for(i=0;i<10;i++) arr[
下面程序的输出结果是【 】。 main() { int arr[10],i,k=0; for(i=0;i<10;i++) arr[i]=i; for(i=0;i<4;i++) k+=arr[i]=i; printf("%d\n",k); }
下面程序的输出结果是【 】。 main() { int arr[10],i,k=0; for(i=0;i<10;i++) arr[i]=i; for(i=0;i<4;i++) k+=arr[i]=i; printf("%d\n",k); }
下面程序的输出结果是______。
main()
{
int x=11,*p=x;
*p=23;
printf("%d",x);
}
下面程序的输出结果是______。
#include"stdio.h"
main()
(cbar b[]="ABCD";
char*chp;
for(chp=b;*chp;chp+=2)
printf("%s\t",chp);
printf("\n");
}
下面程序的输出结果是【 】。 char b[]="ABCD"; main() { char *p=b; for(;*p;p++) printf("%s",p); printf("\n"); }
下面程序的输出结果是【 】。 main() { int i=3,j=2; char * a="DCBA"; printf("%c%c\n",a[i],a[j]) }
A.0
B.1
C.10
D.9
A.0
B.1
C.10
D.9
下面程序的输出结果是【 】。 include <stdio.h> main() { staic char b[]="Goodbye"; char * chp = &b [7]; while(- - chp>=&b[0])putchar (* chp); printf("\n"); }
下面程序的输出结果是()。 include <stdi0.h> include<string.h> main() {char*pl=“abc”,str[50]=“xyz”; strcpy(Str+2,p1); printf(“%S\n”,Str); }
A.xyzabcABC
B.zabcABC
C.xyabc
D.yzabcABC
下面程序的输出结果是【 】。 include<stdio.h> main() { static char a[]="language" ,b[]="program"; char*ptrl=a,*ptr2=b; int k; for(k=0;k<7;k++) if(*(ptrl+k)==*(ptr2+k)) printf("%c",*(ptrl+k));}