下列程序的运行结果为( )。 #include<stdio.h> main() { struct date {int year,month,day; }today; printf("%d/n",sizeof(struct date)); }
A.8
B.6
C.10
D.12
[单选题]下列程序的输出结果是()。includemain(){struct st{int y,x,z;};union{long i; int j;下列程序的输出结果是( )。 #include<stdio.h> main() { struct st { int y,x,z; }; union { long i; int j; char k; }un; printf("%d,%d/n",sizeof(struct st),sizeof(un)); }A.6,2B.6,4C.8,4D.8,6
[单选题]下列程序的运行结果为()。include main(){stmct date {int year,month,day; }today; pr下列程序的运行结果为( )。 #include <stdio.h> main() { stmct date {int year,month,day; }today; printf("%d/n",sizeof(struct date)); }A.8B.6C.10D.12
[单选题]以下程序的输出结果是______。 struct date { long *a; struct date*next; double b; }too; printf("%d",sizeof(too));A.20B.16C.14D.12
[单选题]下列程序的运行结果是()。inCludemain(){static char a[]="Languagef",b[]="programe";下列程序的运行结果是( )。 #inClude<stdio.h> main() { static char a[]="Languagef",b[]="programe"; Char*p1,*p2;int k; p1=a;p2=b; for(0;k<=8;k++) if(*p1+k)==*(p2+k))printf("%c",*(p1+k)
[单选题]下列程序的运行结果是()。includemain(){static chara[]="Languagef",b[]="programe";下列程序的运行结果是( )。 #include<stdio.h> main() { static chara[]="Languagef",b[]="programe"; char *p1,*p2;int k; p1=a;p2=b; for(k=0;k<=8;k++) if(*(p1+k)==*(p2+k))printf("%c",*(p1+
[单选题]下列程序的运行结果是()。includemain(){ static char a[]="Languagef",b[]="programe"下列程序的运行结果是( )。 #include<stdio.h> main() { static char a[]="Languagef",b[]="programe"; char *p1,*p2;int k; p1=a;p2=b; for(k=0;k<=8;k++) if(*(p1+k)==*(p2+k))printf("%c",*(p
[单选题]下列程序的运行结果是()。includeincludemain(){char*s1="abDuj"; char*s2=下列程序的运行结果是( )。 #include<stdio.h> #include<string.h> main() { char*s1="abDuj"; char*s2="ABdUG"; int t; t=strcmp(s1,s2); printf("%d",t); }A.正数B.负数C.零D.不确定的值
[单选题]下列程序的运行结果是()。includemain (){ int x=5, a=1, b=2, c=5, d=O ;if (a
[单选题]下列程序的运行结果是()。includemain(){ int a=0,b=4,c=0,d=10,x;if(a) d=d£10;else i下列程序的运行结果是( )。 #include<stdio.h> main() { int a=0,b=4,c=0,d=10,x; if(a) d=d-10; else if(!b) if(!c) x=15; else x=25; printf("%d/n",d); }A.5B.3C.20D.10
[单选题]下列程序的运行结果是()。includemain(){int a=2,b=3,c=4; if(a