题目内容

What tools are in the toolbox?

查看答案
更多问题

以下程序的功能是:从键盘上输入一个字符串, 把该字符串中的小写字母转换为大写字母,输出到当前目录中的文件test.txt中,然后从该文件读出字符串并显示出来.请填空.#includemain(){FILE *fp;char str[100]; int i=0;if((fp=fopen(" 第1空","w"))==NULL){printf("can't open this file.\n");exit(0);}printf("input astring:\n");gets(str);while (str[i]){if(str[i]='a'&&str[i]<='z')str[i]= 第2空;fputc(str[i],fp);i++;}fclose(fp);fp=fopen("test.txt", 第3空);fgets(str,100,fp);printf("%s\n",str);fclose(fp);}

How to say 救生艇 in English?

A. Lifebuoy.
B. Lifeboat.
C. Life jacket.
D. Life raft.

How to say 救火 in English?

A. Fire under control.
B. Fire fighting.
C. Engine room flooding.
D. Fire is extinguished.

How to say 呼吸装置 in English?

A. Breathing apparatus.
B. Toxic agent.
Corrosive agent.
D. Anti-explosion equipment.

答案查题题库