测评会员优惠活动进行中 · 开通 VIP,有效期内测评不限次 VIP 优惠中 · 测评不限次 立即查看

A39220. 有如上函数定义,则调用 fun (6) 得到的返回结果为 ( )int fun(int x){ if(x<=1) return 1; if(x>=5) return x*fun(x-2); return x*fun(x-1);}

单选题 中等

题目描述

有如上函数定义,则调用 fun (6) 得到的返回结果为 ( )

int fun(int x){

    if(x<=1) return 1;

    if(x>=5) return x*fun(x-2);

    return x*fun(x-1);

}

选项(单选)

上一题 下一题