题目内容

有以下程序 #include main() {FILE*fp;inti=20,j=30,k,n; fp=fopen(“d1.dat”“w”) ; fprintf(fp,“%d\n”,i);fprintf(fp,“%d\n”,j); fclose(fp); fp=fopen(“d1.dat”,“r”); fp=fscanf(fp,“%d%d”,&k,&n);printf(“%d%d\n”,k,n); fclose(fp); } 程序运行后的输出结果是( )。

A. 2030
B. 2050
C. 3050
D. 3020

查看答案
更多问题

DoesTomoftenplay_______footballafter_______school?

A. /;/
B. /;the
C. the;/
D. a;/

Lookat_______horseoverthere.

A. a
B. an
C. the
D. /

The children stood in circle and danced to music.

A. a
B. an
C. the
D. /

Please your homework carefully before you hand it to your teacher.

A. turn to
B. bring about
C. go over
D. put up

答案查题题库