试题与答案

下列程序的输出结果是( )。   #include" iostream"   u

题型:单项选择题

题目:

下列程序的输出结果是( )。   #include" iostream"   using namespace std;   int Max(int a,int b)    {     if(a > b)     else       return a;     else      retum b;     }     void main( )     {      int m,n;      m=10,n=5;      int max=Max(m,n);      cout < < max < < end1;    }

A.10

B. 程序有误

C.1

D.0

答案:

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

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

参考答案:E解析: 由17空的下句“他们是非常出名的”可知,17处出现一个名称,由此可知答案选E.

试题推荐
微信公众账号搜索答案