填空题:以下程序是建立一个名为myfile的文件,并把从键盘输入的字符存入该文件,当键盘上输入结束时关闭该文件。#include

  • 题目分类:C语言
  • 题目类型:填空题
  • 查看权限:VIP
题目内容:
以下程序是建立一个名为myfile的文件,并把从键盘输入的字符存入该文件,当键盘上输入结束时关闭该文件。
#include
main()
{ FILE *fp;
char c;
fp=__________ ;
do{
c=getchar();
fputs(c,fp);
}while(c!=EOF);
__________ }
参考答案:
答案解析:

写出下列程序的运行结果。#include “stdio.h”Main(){ int a[]={1,2,3,-4,5};i

写出下列程序的运行结果。#include “stdio.h”Main(){ int a[]={1,2,3,-4,5};intm,n,*p; p=&a[0

查看答案

I can no longer tolerate his actions.

I can no longer tolerate his actions.A.put up with B.accept C.take D.suffer from

查看答案

根据下列材料,回答题Effects of Environmental PollutionIf pollution con

根据下列材料,回答题Effects of Environmental PollutionIf pollution continues to increase

查看答案

One of the most common signs of Parkinson’s is tremor_______

One of the most common signs of Parkinson’s is tremor_____________.A.if there is

查看答案

《保险专业代理机构监管规定》规定:保险专业代理公司许可证的有效期为3年,保险专业代理公司应当在有效期届满(  )日前,向

《保险专业代理机构监管规定》规定:保险专业代理公司许可证的有效期为3年,保险专业代理公司应当在有效期届满(  )日前,向中国保监会申请延续。A.15 B.20

查看答案