[单项选择]What does the speaker say about sleeping pills A. they might eventually cause you to lose sleep. B. They help produce a neurotransmitter in the brain. C. You must not drink milk if you take them.
第13题: [单项选择]下列程序的输出结果是 #include"iostream" using namespace std; int Max(int a,int b) { if (a > b) return a; else return b; } void main( ) { int m,n; m=10,n=5; int max=Max(m,n); cout<<max<<endl; } A. 10 B. 程序有误 C. 1 D. 0 参考答案:A 答案解析:[命题目的] 考查return语句的用法和函数的调用。
[解题要点] 本题函数Max的功能是求出两个整数中的较大者,并且通return语句返回。
[考点链接] return语句的用法,注意retu