有以下程序 #include main() { EILE *f; f=fopen(“filea.txt”,”w”); fprintf(f,”abc”); fclose(f); } 若文本文件filea.txt中原有内容为:hello,则运行以上程序后,文件filea.txt中的内容为
![](/upload/20220827/c85071da6ff0aadc10ebce6c25bb4f0d.png)
相似题目
-
有以下程序#include<stdio .h>main(){char s[」=”rstuv;printf(”%c\n”,*s+2);}程序运行后的输出结果是
-
有以下程序: #include void main( ) { ... while(getchar()!=\n); ... } 以下叙述正确的是( )
-
有以下程序: #include void main() {int k=5; while(--k) printf(%d,k-=3); printf(\n); }
-
有以下程序#include void main(){charstr[]={Hello,Beijing};printf(%d,%d\n,strlen(str),sizeof(str));}程序的运行结果是( )
-
有以下程序#include #include main(){ char str[ ][20]={“One*World”, “One*Dream!”},*p=str[1];printf(“%d,”,strlen(p));printf(“%s ”,p);}程序运行后的输出结果是( )
-
有以下程序,其中 k 的初值为八进制数 #include main() {int k=011; printf(\%d\\n\,k++);} 程序运行后输出结果为( )。
-
有以下程序 #include main() { FILE *pf; char *s1=\China\,*s2=\Beijing
-
有以下程序 #include void main ( ) { chars[]=\012xy\\08s34f4w2
-
有以下程序include<stdio.h>main(){char s[]=“rstuv”;printf(“%c\n”,*s+2);}程序运行后的输出结果是()。
-
有以下程序: include<stdio.h> main() {printf("%d\n",NULL)); 程序运行后的输出结果是()。
-
有以下程序: include<stdio.h> main { char s[]="rstuv"; printf("%c\n",*s+2); }
-
有以下程序: include main() { int a=12,C; c=(a$amp;A.3
-
有以下程序: include<stdio.h> main() { int i,j,m=55; for(i=
-
有以下程序: include <stdio.h> main() { int a[]={10,20,30,40},*p=a,j; for(i=0
-
有以下程序 include<stdio.h>void main()
-
有以下程序: include<stdio.h> main() { int a; scanf("%d",&a); if(a++<9
-
有以下程序(注:字符a的ASCIl码值为97)include<stdio.h>main(){ char*s={"abc"
-
有以下程序:include <iostream>using namespace std;int main (){int x=15;while (x>10&&am
-
有以下程序 include<stdio.h> main() {char a[3O],b[30]; scanf("%S",a); gets(b);
-
有以下程序:include <stdio. h>main (){char a :'a',b; printf("% c," , + + a); printf("%c
-
有以下程序includ<stdio.h>main(){printf("%"NUL);}程序运行后的输出结果是()
-
有以下程序includevoid main(){int a ;scanf("%d",&a);if(a >= 0){if
-
有以下程序includ<stdio.h>main(){ int a;(int)(-1.53*3);printf("%"a);}程序的运行结果是()
-
有以下程序: include<stdio.h> main() } int y=9; for(y>0;
-
有以下程序include<stdio.h>main{inty=10;while(y--);printf(y=%d\n,y);}程序执行后的输出结果是()
推荐题目
- 患者,男,72岁。晨起发现左侧肢体不能活动,急来医院诊断为脑血栓形成,下列处理错误的是()
- 下列葡萄品种中,属于张裕红葡萄酒酿造选用品种的是()。
- 女,22岁,苍白、乏力2周。淋巴结及脾大,白细胞计数34×10/L,骨髓中原始细胞占85%,过氧化物酶染色阴性。最适宜的化疗方案是()
- 间接接触触电是指人体直接接触到带电体或者是人体过分的接近带电体而发生的触电现象。
- 《党政机关国内公务接待管理规定》规定,工作餐应当供应家常菜,不得:()
- 肺下界降低最常见于()。
- 蒸汽在汽轮机内膨胀做功,将热能转变为机械能,同时又以传导传热方式将热量传给汽缸内壁,汽缸内壁的热量以热传导方式由内壁传到外壁。
- 8、按照欧洲经济与合作组织(OECD)的分类标准,缺乏人类致畸数据但是有充分证据可以证明动物致畸性的外源物质不属于
- 使用自动闭塞法,列车进入闭塞分区的行车凭证是什么?()
- 在windows7中,用户要在打开的多个窗口中切换,可使用“Alt+Enter”组合键()