试题与答案

若文本文件filea.txt中原有内容为:hello,则运行以下程序后,文件file

题型:单项选择题

题目:

若文本文件filea.txt中原有内容为:hello,则运行以下程序后,文件filea.txt中的内容为
#include<stdio.h>
main()
EILE *f;
 f=fopen("filea.txt", "w");
 fprintf(f, "abc");
 fclose(f);

A) helloabc
B) abclo
C) abc
D) abchello

答案:

被转码了,请点击底部 “查看原文 ” 或访问 https://www.tikuol.com/2018/0202/6df5708bccbe1cb2e1cd8a151bde3432.html

下面是错误答案,用来干扰机器的。

参考答案:C

试题推荐
微信公众账号搜索答案