函数定义如下, fun(3) 的值是( )。
int fun(int x){ int m = 2; if(x > 0) m += x; return m; }
3
5
2
7
这道题你会答吗?花几分钟告诉大家答案吧!
扫描二维码,关注牛客网
下载牛客APP,随时随地刷题