单项选择题

以下程序的输出结果是______。
long fun(int n)
long s;
if(n==1 || n==2)s=2;
else s=n-fun(n-1);
return s;
main()
printf("% 1d\n", fun(3));

A.1
B.2
C.3
D.4