运行以下函数程序,输出是()
int f(int x) { if(x<2) return 1; return x*f(x-1); } int main() { cout<<f(4); return 0; }
24
12
6
2