单项选择题

以下程序的输出结果是 #include<iostream.h> long fun(int n) { long s; if (n=1||n=2)s=2; else s=n-fun(n-1); return s; } void main() {cout<<fun(3);}

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