首页
›
答案
›
题库
›
慕课
›
未分类
有如下程序#include iostream
有如下程序#include iostream
using namespace std;
int max(int x,int y)
{
int z;
if(xy) z=x;
else z=y;
return z;
}
int main()
{
int a=3,b=5;
coutmax=max(a,b)endl;
}
A.max=3
B.max=4
C.max=5
D.max=6
正确答案:max=5
标签:
面向对象程序设计
程序
上一条:
在函数定义中的形参属于()
下一条:
函数调用func((exp1,exp2),(exp3,exp4,exp5))中所含实参的个数为()