题目内容

1. 若fp是指向某文件的指针,且已读到该文件的末尾,则C语言函数feof( fp)的返回是( )。

A. EOF
B. -1
C. 非零值
D. NULL

查看答案
更多问题

有以下程序 #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. /

答案查题题库