试题与答案

下列程序的输出结果是______。 #include<iostream> usi

题型:填空题

题目:

下列程序的输出结果是______。
#include<iostream>
using namespace std;
template<typename T>
T fun(T a,T b)return(a<=b)a:b;)
int main()

cout<<fun(3,6)<<’,’<<fun(3.14F,6.28F)<<endl;
return 0;

答案:

被转码了,请点击底部 “查看原文 ” 或访问 https://www.tikuol.com/2017/0704/7c62fbbfa5625000d5b95bc97e66e99e.html

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

参考答案:塑料的原料是合成树脂,制用过程中添加增塑剂和稳定剂,这些添加剂是有毒的,且易溶于食油中,使食油变色、变质,不仅不适宜食用,还会缩短塑料制品的寿命,所以不要用塑料桶存放食油。

试题推荐
题型:阅读理解
Daniel has many friends. They look different and they have different personalities, but they are all friendly and helpful. He’d like to introduce some of them to us.
Name
Age
Appearance and hobbies
Amy
(volleyball player)
17
She is very tall (1.87 meters)! She has a baby face. Her fans say she’s very beautiful. She likes listening to pop songs and drawing.
Tom
(skiing player)
18
He is always smiling so people say that he is a “sunshine boy”. He is a “black horse”. He won the first gold medal(金牌) for his city this year. He likes reading and playing games.
Millie
(singer)
16
People call her “Baby”. She’s a cool girl with black glasses and short hair. She likes wearing men’s clothes, so she looks like a boy. She likes singing, of course. She is good at playing basketball!
 
小题1:How many friends does Bob introduce in this passage?
A.Two.B.Three.C.Four.D.Five.
小题2:What does Amy do?
A.She is a volleyball player.B.She is a skier.
C.She is a pop singer.D.She is a basketball player.
小题3:Why do people say Tom is a “sunshine boy”?
A.Because he likes reading.B.Because he likes playing games.
C.Because he is always smiling.D.Because he is a skier.
小题4:Which of the following is not true about Millie?
A.She is very tall.B.She wears black glasses.
C.She likes wearing a dress.D.She has short hair.
小题5:Which sentence is wrong?
A.“Baby” does well in playing basketball.B.Millie is the youngest of the three.
C.Amy has a baby face.D.Tom likes black horses.
查看答案
微信公众账号搜索答案