单项选择题
若文本文件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
点击查看答案&解析
<上一题
目录
下一题>
热门
试题
单项选择题
以下程序运行后的输出结果是 #include<stdio.h> struct ord { int x, y;} dt[2]={1, 2, 3, 4}; main() { struct ord *P=dt; printf( %d, , ++p->x); printf( %d n , ++p->y); }
A.1,2
B.2,3
C.3,4
D.4,1
点击查看答案&解析
单项选择题
以下选项中合法的标识符是
A.1_1
B.1--1
C._11
D.1__
点击查看答案&解析
相关试题
有以下程序,若想通过键盘输入,使得a1的...
以下程序运行后的输出结果是 #include<s...
设有定义:char s[81]; int i=1...
程序段:int x=12; double y=3....
设变量已正确定义,以下不能统计出一行中输...