设有如下函数定义
int fun (int k)
if (k<1)
return 0;
else if (k==1)
return 1;
else
return fun(k-1)+1;}
若执行调用语句:n=fun(3);,则函数fun总共被调用的次数是( )
2
4
3
5