#include "stdio.h"
main()
{int a=065;
printf( "%d\n",--a);
}
[单选题]下列程序的输出结果是#include "stdio.h"main(){int i,a=0,b=0;for(i=1;i<10;i++){if(i%2==0){a++;continue;}b++;}printf("a=%d,b=%d",a,b);}A.a=4,b=4B.a=4,b=5C.a=5,b=4D.a=5,b=5
[单选题]下列程序的输出结果是( )。 #include "stdio.h" main() { struct st { int y,x,z;}; union {long i;int j; char k;} un; printf("%d,%d/n",sizeo(struct st),sizeof(un)); }A.6,2B.6,4C.8,4D.8,6
[单选题]阅读下列程序,程序的输出结果是#include "stdio.h"main(){int m,n;float k;for(m=6;m>2;m--){ k=0;for(n=m;n>1;n--)k=k+m*n;}printf("%f\n",k);}A.5.000000B.15.000000C.25.000000D.35.000000
[单选题]下列程序的输出结果是 #include"stdio.h" main() { int i,a=0,b=0; for(i=1;i<10;i++) { if(i%2==0) {a++; continue;} b++;} printf("a=%d,b=%d",a,b);}A.a=4,b=4B.a=4,b=5C.a=5,b=4D.a=5,b=5
[单选题]下列程序的输出结果是 #include"stdio.h" main() { int i,a=0,b=0; for(i=1;i<10;i++) { if(i%2==0) { a++; continue;} b++;} printf("a=%d,b=%d",a,b);}A.a=4,b=4B.a=4,b=5C.a=5,b=4D.a=5,b=5
[单选题]以下程序的运行结果是 #include"stdio.h" main() { struct date { int year,month,day;}today; printf("%d/n",sizeof(struct date));}A.6B.8C.10D.12
[单选题]以下程序的运行结果是#include "stdio.h"main(){struct date{int year,month,day;}today;printf("%d\n",sizeof(struct date));}A.6B.8C.10D.12
[主观题]以下程序的输出结果是#include "stdio.h"main(){ int a=065; printf("%d\n",--a);}
[单选题]下列程序的运行结果是 #include"stdio.h" main() { intx=-9,y=5,z=8; if(x<y) if(y<0)z=0; else z+=1; printf("%d/n",z);}A.6B.7C.8D.9
[单选题]下面程序的运行结果是( )。 #include"stdio.h" main() {int i; for(i=1;i<=5;i++) { if(i%2) printf("*"); else printf("#"); } }A.*#*#*B.#*#*#*C.*#*#D.#*#*