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

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

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

写出运行结果

main(  )
{
    int a=2, I;
    for (I=0; I<3; I++)
    {
        printf("%4d", f(a));
    }
}
f(int a)
{
    int b=0;
    static int c=a;
    b++; c++;
    return(a+b+c);
}
答案:
解析:

Copyright ©

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