单选题:有下列程序: #include<stdi0.h>voidmain(  ) {FILE*f; f=fopen("filea

  • 题目分类:C++
  • 题目类型:单选题
  • 号外号外:注册会员即送体验阅读点!
题目内容:
有下列程序:
#include<stdi0.h>
voidmain(  )
{FILE*f;
f=fopen("filea.txt","w");
fprintf(f,"abe");
fclose(f);
}
若文本文件filea.txt中原有内容hell0,则运行以上程序后,文件Iilea.txt中的内容为(  )。 A.helloabe
B.abclo
C.abe
D.abchello
参考答案:
答案解析:

下列函数按每行8个输出数组中的数据。 voidfun(int*W.intn){inti; for(i=0;i<n;i++

下列函数按每行8个输出数组中的数据。 voidfun(int*W.intn){inti; for(i=0;i<n;i++){____printf("%

查看答案

Why did the authur ask the group questions in Paragraph 3 ?

Why did the authur ask the group questions in Paragraph 3 ?A.To persuade them t

查看答案

听材料,回答:What does the man usually do in the morning?

听材料,回答:What does the man usually do in the morning?A.Watch TV. B.Have classe

查看答案

Money can be kept there.

Money can be kept there.

查看答案

数据流图中带有箭头的线段表示的是(  )。

数据流图中带有箭头的线段表示的是(  )。 A.控制流 B.事件驱动 C.模块调用 D.数据流

查看答案