答案查看网,轻松搜题/搜资源
登录
×
登录账号
记住密码
立即注册
忘记密码
×
注册
使用微信扫描二维码,获取账号密码后免费查看答案
前往登录
忘记密码
×
忘记密码
使用微信扫描下方二维码,即可找回您的账号密码
前往登录
立即注册
搜题/搜资源
【单选题】【消耗次数:1】
文本文件quiz.txt的内容为"Programming"(不包含引号),以下程序段的运行结果是()。FILE*fp;char*str;if((fp=fopen("quiz.txt","r"))!=NULL)str=fgets(str,7,fp);printf("%s",str);
①
Progr
②
Progra
③
Program
④
Programming
参考答案:
复制
纠错
相关题目
【单选题】
以下程序运行后,文件test.txt的内容是()。#includestdio.hmain(){FILE*fp;charstr[][10]={"first","second"};fp=fopen("test.txt","w");if(fp!=NULL)fprintf(fp,"%s",str[0]);fclose(fp);fp=fopen("test.txt","w");if(fp!=NULL)fprintf(fp,"%s",str[1]);fclose(fp);}
①
first
②
second
③
firstsecond
④
secondfirst
查看完整题目与答案
【单选题】
在采访中,记者既要"身入",又要"心入"。"心入",就是要有强烈的社会责任感, 要对客观事物进行由表及里的分析,还要().
①
A.广泛地接触群众
②
B.多方面地挖掘材料
③
C.细心地掂量各种材料的价值
④
D.细心地掂量各种材料的价值
查看完整题目与答案
【多选题】
Whatdoestheword"steal"(thelastpara.)mean?<br/>
查看完整题目与答案
【判断题】
新闻用事实说话,即写出事实并把事实说清楚,是"根据事实来描写事实"而不是"根据希望来描写事实"().
①
正确
②
错误
查看完整题目与答案
【单选题】
执行下面程序:main(){intx=1,y=1,z=1;x=x+++y+++z++;printf("%d,%d,%d",x,++y,z++);}输出的结果为()
①
4,3,2
②
3,3,2
③
3,3,3
④
3,2,2
查看完整题目与答案
【判断题】
在消息写作上,要力求避免所谓的"三重复",是指避免标题、导语、主体的重复().
①
正确
②
错误
查看完整题目与答案
【单选题】
F.H.奥尔波特(1924)指出,社会心理学是"研究个体的社会行为和()的学科"。
①
A.社会心理
②
B.社会意识
③
C.社会知觉
④
D.社会观念
查看完整题目与答案
【判断题】
习近平总书记在党的十九届五中全会上提出"新发展理念",是指:创新、协调、绿色、法治、共享。
①
正确
②
错误
查看完整题目与答案
【多选题】
“丝绸之路经济带"涉及以下哪些省份?
①
A.新疆
②
B.重庆
③
C.陕西
④
D.甘肃
查看完整题目与答案
【单选题】
哪个省最早提出了“四换三名"?
①
A.广东
②
B.浙江
③
C.江苏
④
D.福建
查看完整题目与答案
随机题目
【单选题】
My sister is good [填空] showing.
①
in
②
on
③
at
④
for
查看完整题目与答案
【单选题】
I [填空] the book yesterday.
①
read
②
reading
③
readed
④
reads
查看完整题目与答案
【单选题】
We wont [填空] free this evening.
①
is
②
are
③
be
④
being
查看完整题目与答案
【判断题】
When I saw him, he was cleaninging his room.
①
正确
②
错误
查看完整题目与答案
【判断题】
Some girls is singing in the classroom now.
①
正确
②
错误
查看完整题目与答案
【单选题】
We will go outside if it [填空] tomorrow.
①
don't rain
②
didn't rain
③
doesn't rain
④
isn't rain
查看完整题目与答案
【单选题】
Jim was good at [填空] .
①
draw
②
drawing
③
draws
④
drawed
查看完整题目与答案
【单选题】
Did you [填空] a party last weekend?
①
had
②
have
③
has
④
having
查看完整题目与答案
【单选题】
[填空] play football in the public area.
①
Don't
②
Doesn't
③
Do
④
Does
查看完整题目与答案
【单选题】
[填空] one do you prefer?
①
What
②
Which
③
How
④
Whose
查看完整题目与答案