1.  >>  成人高等教育 / 面向对象程序设计
 成人高等教育 / 面向对象程序设计
正确率:100%

函数模板定义如下: template

Max( T a, T b ,T &c){c=a+b;}下列选项正确的是( )
  • A、

    int x, y; char z; Max(x, y, z);

  • B、

    double x, y, z; Max( x, y, z);

  • C、

    int x, y; float z; Max( x, y, z);

  • D、

    float x; double y, z; Max( x,y, z);

 参考答案:
 佳题速递:
  • 当发现你的室友,同学长久处在情绪痛苦中,甚至有自伤行为,这时你可以适度的帮助她处理一些人际与生活需要,避免遭受其他同学的不良对待 中医基础理论
  • 要约发出后要约人在任何时候均有权撤回要约。 A、正确 B、错误企业管理实务
  • 68、我国政策性银行开展业务的基本原则是( )。 货币银行学
  • 阅读理解:阅读下列短文,回答文后问题,选择最佳答案Trees mainly serve man in three important ways: They provide him with wood and other products; they provide him shade; and they help to prevent droughts and floods.Unfortunately, in many parts of the world, man has not realized that the third of these services is the most important.In his eagerness to make money from trees, he has cut them down in large numbers, only to find that without them he has lost the best friends he had. And besides, he is usually too careless to plant and look after new trees. So the forests slowly disappear.This does not only mean that man will have fewer trees. The results are even more serious: for where there are trees, their roots break up soil allowing the rain to sink in and also bind(固定) the soil, thus preventing it from being washed away easily;but where there are no trees, the rain falls on hard ground and flows away, causing floods and carrying away the rich top-soil. When the top-soil is gone, nothing remains but worthless desert.Two thousand years ago,a rich and powerful country cut down its trees to build warships, with which to gain itself an empire.It set up the empire, but, without its trees, its soil became poor and grew weak. When the empire fell to pieces, the home country found itself faced by floods and starvation(饥荒).4. Why did the country mentioned in the passage suffer from floods and starvations? A、 A. Because it set up an empire.      B、 B. Because it fell to pieces. C、 C. Because it turned its trees into warships. D、 D. Because it spent too much money on wars.大学英语1
  • 孔的放置类型不包括(    )。 Pro/e三维造型设计
  • Buenos Aires is one of the world capitals that _ _ _ _ _ _ noted for its busy harbor. 大学英语(上)