logo
YourData+
玉东数据
首页专升本CLASSROOM博客工具

C语言程序设计习题集习题九:函数

pdf
1. (程序阅读)
1. [程序阅读]

写出运行结果

main(  )
{
    int a=1, b=2, c;
    c=max(a, b);
    printf("max is %d\n",c);
}
max(int x, int y)
{
    int z;
    z=(x>y)? x:y;
    return(z);
}
答案:
解析:

Copyright ©

YourData+2025.甘肃玉东数据有限公司
应用合作解决方案MUI-Remix
18919890888微信同号
陇ICP备2021001826号