没有搜到到结果?点击这里求解答/求资源。
【单选题】
下面程序运行结果是( )。 #includemain() { int num=0; while (num=2) {num++ printf (%d\n,num);} }

1 2 3 4
1 2 3
1 2
1
【单选题】
下面程序运行结果是()。#includestdio.hmain(){FILE*fp;inta=2,b=4,c=6,k,n;fp=fopen("test.dat","w");fprintf(fp,"%d\n",a);fprintf(fp,"%d%d\n",b,c);fclose(fp);fp=fopen("test.dat","r");fscanf(fp,"%d%*d%d",k,printf("%d%d\n",k,n);fclose(fp);}

24
26
42
62
【单选题】
以下程序运行结果是(  )。#include stdio.hmain(){struct date{ int year,month,day;}today;printf(%d\n,sizeof(today));}

6
8
10
12
【简答题】
有以下程序#includestdio.hmain(){ int x;scanf(%d,if(x15) printf(%d,x-5);if(x10) printf(%dif(x5) printf(%d\n,x+5); }若程序运行时从键盘输入7回车,则输出结果为[填空1]。

【简答题】
有以下程序#includestdio.hmain(){ int x;scanf(%d,if(x15) printf(%d,x-5);if(x10) printf(%dif(x5) printf(%d\n,x+5); }若程序运行时从键盘输入12回车,则输出结果为[填空1]。

【简答题】
有以下程序#includestdio.hmain(){ int x;scanf(%d,if(x15) printf(%d,x-5);if(x10) printf(%dif(x5) printf(%d\n,x+5); }若程序运行时从键盘输入12回车,则输出结果为[填空1]。

【简答题】
有以下程序(说明:字符0ASCII码值为48)#includestdio.hmain(){ char c1,c2;scanf(%d,c2=c1+9;printf(%c%c\n,c1,c2); }若程序运行时从键盘输入48回车,则输出结果为[填空1]。

【单选题】
下面程序运行后,显示结果是( )。 Dim x If x Then Print x Else Print x+1

1
0
-1
显示出错信息
【单选题】
以下程序运行后,文件test.txt内容()。#includestdio.hmain(){FILE*fp;charstr[][10]={"first","second"};fp=fopen("test.txt","w");if(fp!=NULL)fprintf(fp,"%s",str[0]);fclose(fp);fp=fopen("test.txt","w");if(fp!=NULL)fprintf(fp,"%s",str[1]);fclose(fp);}

first
second
firstsecond
secondfirst
【单选题】
下面一段汇编语言源程序,请指出程序运行结果是。MOV23H,#0AHCLRALOOP:ADDA,23HDJNZ23H,LOOPSJMP$

A=00H
A=23H
A=37H
A=55H