有以下程序#includeint f(int x){int y;if(x==0||x==1) return(3);y=x*x-f(x-2);return y;}void main(){int z;z=f(3);printf("%d\n",z);}程序的运行结果是()。
查看答案
以下程序的输出结果是___________。#includevoid fun(int x) {x=50;}void main(){int a=10;fun(a);printf("%d\n",a);}
下面程序的运行结果是___________。#includevoid fun(){int a=0;a+=3;printf("%d ",a);}void main(){int cc;for(cc=1;cc<=4;cc++) fun();printf("\n");}
下面程序的运行结果是___________。#includeint t(int x,int y,int cp,int dp){cp=x%y+y*y;dp=x+x-y*y;}void main(){int a=4,b=3,c=9,d=8;t(a,b,c,d);printf("%d %d\n",c,d);}
以下程序的运行结果是___________。#includeint a=5;int b=7;plus(int x,int y){int z;z=x+y;return(z);}void main(){int a=4,b=5,c;c=plus(a,b);printf("A+B=%d\n",c);}