试题与答案

有下列程序 main() { double d;float f;long l;i

题型:单项选择题

题目:

有下列程序 main() { double d;float f;long l;int i;i=f=1=d=20/3;printf("%d%1d %f %f\n",i,1,f,D) ; } 程序运行后的输出结果是(小数点后只写1位) ( )

A.6 6 6.0 6.0

B.6 6 6.7 6.7

C.6 6 6.0 6.7

D.6 6 6.7 6.0

答案:

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

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

参考答案:A解析: B、C、D项中的图形均是一笔可以完成的,A项中的图形一笔不能完成,与其他三项规律不符。故选A。

试题推荐
题型:句型转换

按照要求完成句子。

1. The headmaster saw the children playing on the playground. (变成复合句)

    The headmaster saw the children _________ _________ on the playground.

2. This volunteer work takes each of them several hours a week. (对划线部分提问) 

    _________ _________ does this volunteer work take each of them a week?

3. I'd like to help people who don't have home. (改为同义句)

    I'd like to help _________ _________.

4. Ming is a tenth grade student. He wants to be a professional singer. (合并句子)

    Ming is a tenth grade student _________ _________ to be a professional singer.

5. I want to be a volunteer because I think it is great. (合并成一个句子)

    _________ a volunteer _________ great.

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