试题与答案

下面的程序执行后,文件test.t中内容是______。 #include<st

题型:单项选择题

题目:

下面的程序执行后,文件test.t中内容是______。 #include<stdio.h> void fun(clar *fname,char *st) { FILE*myf;int i;myf=fopen(fname,"w");for(i=0;i<stden(st);i++)fputc(st[i],myf); fclose(myf); } main() {fun("test.t","new world"); fur("test.t","hello,";}

A.hello,

B.new worldhello

C.new world

D.hello,rld

答案:

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

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

参考答案:经外汇管理部门批准,银行可以办理下列七种外币储蓄存款:英镑、港币、美元、瑞士法郎、日元、加拿大元和欧元。

试题推荐
题型:阅读理解

阅读理解。

    In most parts of the world, many students help their school make less pollution. They join in

"environment (环境) clubs". In an environment club, people work together to make our environment clean.

    Here are the things students often do.

    Turn off the water! Do you know that some toilets can waste (浪费) twenty to forty tons of water an

hour?

    In a year, that would fill a small river! In environment clubs, students mend those broken toilets.

    No-car day. On a no-car day, nobody comes to school in a car-not the students and not the teachers!

Cars give pollution to our air, so remember:

    Walk, jump, bike or run.

    Use your legs! It' lots of fun!

    No-garbage (垃圾) lunches. How much do you throw away after lunch? Environment clubs ask students

to bring their lunches in bags that can be used again. Every week they will choose the classes that make the

least garbage and report them to the whole school!

    We love our environment. Let' work together to make it clean!

1 Environment clubs ask students            .

A. to run to school every day

B. to play sports every day

C. not to throw away lunch bags

D. not to forget to take cars

2 From this passage we know the students usually have lunch            .

A. at school

B. in shops

C. in clubs

D. at home

3.  On a no-car day,   _____ will take a car to school.

A. both students and teachers

B. only students

C. neither students nor the teachers

D. only teachers

4. After mending the broken toilets, they save  _____   .

A. a small river

B. a club

C. a lot of water

D. a toilet

查看答案
微信公众账号搜索答案