有下列程序
#include"stdio.h"
int temp;
void main()
{
int fun(int n);
int num,sum;
num=5684;
temp=num;
sum=fun(num);
printf("=%d\n",sum);
}
int fun(int n)
{
int remind;
static int sum=0;
if(n>=10)
fun(n/10);
remind=n%10;
sum+=remind;
if(temp>n)
printf("%d+",remind);
else
printf("%d",remind);
return sum;
}
程序中的fun函数被调用次数为( )
2
3
4
5