听力原文:M: Hi, Catherine. Haven't seen you for a long time. How is your vocation?
W: Terrific ! I went to Washington D. C. to visit my cousin. I saw the Jefferson Memorial, the Lincoln Memorial, and the White House.
M: What a pity is that I've never been there. What do you like best?
W: No doubt the White House. It's been the official home of the American presidents since 1800.
M: I didn't know the history of it. Is it really as nice as everyone says it is?
W: It's a two - story building built of stones. But it is simple and dignified. It was named the White House after the British burned it in the war of 1812.
M: I remember now. The president then was James Madison. And his wife Dolly ran out of the burning building carrying the portrait of George Washington.
W: That's right, it's hanging in the East Room now.
M: How big is the White House?
W: There are one hundred thirty - two rooms inside it and covers eighteen acres of land outside. It has to be painted every four years.
M: How much are the visitors allowed to visit?
W: Only six rooms are open to the public. It's a popular, and there are always too many people waiting for their turns.
When was the White House built?
A.1800.
B.1600.
C.1812
D.1884
第1题
有如下函数模板:template<class T>T square(T x){return x*x;}其中T是
A.函数形参
B.函数实参
C.模板形参
D.模板实参
第2题
有如下函数模板: template<class T>T square (Tx) {return x*x;) 其中T是()
A.函数形参
B.函数实参
C.模板形参
D.模板实参
第4题
如下函数模板: templateT square(T x){return x*x;} 其中T是()。
A.函数形参
B.函数实参
C.模板形参
D.模板实参
第5题
有如下函数模板定义: template<class T> T func(T x, T y){return x*x+y*y;} 在下列对func的调用中,错误的是()。
A.func(3,5);
B.func(3.0,5.5);
C.func(3,5.5)
D.func<int>(3,5.5);
第6题
有如下函数模板的定义: template<class T> T func(T x,T y){return x*x+y*y;} 在下列对func的调用中不正确的是
A.func(3,5);
B.func<>(3,5);
C.func(3,5.5);
D.func<int>(3,5.5);
第7题
有如下函数模板的定义: template<class T> T func(T x,T y){return x*x+y*y;} 在下列对func()的调用中,不正确的是()。
A.func(3,5);
B.func<>(3,5);
C.func(3,5.5);
D.func<int>(3,5.5);
第8题
有如下函数模板定义: template<class T> T func (T x,T y){return x*x+y*y;} 在下列对func 的调用中,错误的是______ 。
A.func(3,5);
B.func(3.0,5.5);
C.func(3,5.5);
D.func<int>(3,5.5);
为了保护您的账号安全,请在“上学吧”公众号进行验证,点击“官网服务”-“账号验证”后输入验证码“”完成验证,验证成功后方可继续查看答案!