int f(){int sum=0;static int x=1;return sum+=x++;}main(){int i;for(i=1;i<=3;i++)printf("%d",f());}输出结果为:_____
查看答案
fun(int x,int y){static int m=0,I=2;I+=m+1;m=I+x+y; return m;}main(){int j=1,m=1,k;k=fun(j,m); printf("%d",k);k=fun(j,m); printf("%d\n",k)}输出结果为:____
int A(int a){intb;if(a==2)return(3);b=a*a-A(a-1);return b;}main(){inta;a=A(5);printf("%d\n",a);}输出结果为:____
#include int f(int x){int y;if(x==0||x==1) return (3);y=x*x-f(x-2);return y;}main(){int z;z=f(3); printf(“%d\n”,z);}输出结果为:_______
int fun(int x){if(x>0)return x+fun(x-1);return 1;}main(){printf("%d\n",fun(5)); }输出结果为:_____