填空题
下列程序的输出结果是______。 long fun5(int n) { long s; if((n==1)‖(n==2)) s=2; else s=n+fun5(n-1); return(s); } main() { long x; x=fun5(4); printf("%1d\n",x);}
【参考答案】
I
点击查看答案&解析
<上一题
目录
下一题>
热门
试题
填空题
下列程序的输出结果是______。main(){ int a=2,b=4,c=6;int*p1=&a,*p2,&b,*p;*(p=&c)=*p1*(*p2);printf( %d n ,c);}
点击查看答案&解析
填空题
下列程序的运行结果是______。main(){ int s=0,i=1;while(s<=10){ s=s+i*i;i++;}printf( %d ,--i);}
点击查看答案&解析
相关试题
下列程序的运行结果是______。#defi...
下列程序运行后的输出结果是______。...