有以下程序 #include<stdio.h> #include<string.h> void fun(char*str) char temp;int n,i; n=strlen(str); temp=str[n-1]; for(i=n-1;i>0;i--) str[i]=str[i-1); str[0]=temp; main() chars[50]; scanf("%s",s);fun(s);printf("%s\n",s); 程序运行后输入:abcdef<回车>,则输出结果是______
查看答案
简答题 有一个人大代表,向你们法院提出一个议案,要求你们院设立一个环境审判庭,但是设计一个新的审判庭要牵涉到编制、经费等很多问题,你们法院无权单独做出决定,领导要求你对这位委员进行回复,请问在回复里面主要包含哪些内容?
有以下程序 #include<stdio.h> int f(int t[],int n); main() inta[4]=1,2,3,4,s; s=f(a,4);printf("%d\n",s); int f(int t[],int n) if(n>0)returnt[n-1]+f(t,n-1); else return 0; 程序运行后的输出结果是
A. 4
B. 10
C. 14
D. 6
有以下程序 #include<stdio.h> main() inta[3][3]=1,2,3),4,5,6,7,8,9; int b[3]=0,i; for(i=0;i<3;i++b[i]=a[i][2]+a[2][i]; for(i=0;1<3;i++)printf("%d",b[i]); printf("\n"); 程序运行后的输出结果是______。
现在让你负责组织一次宣传民警破案经验的活动,你打算怎么做?