在TD系统上行链路中,UpPTS、PRACH、DPCH采用()(开环/闭环)功率控制,DPCH同时也采用()(开环/闭环)功率控制
参考答案:开环;闭环
煤矿企业必须建立健全各级领导安全生产责任制,职能机构安全生产责任制,()安全生产责任制。
A.领导干部
B.岗位人员
C.工作人员
D.作业人员
下列给定程序中,函数fun的功能是:用冒泡法对6个字符串按由小到大的顺序排列。 请改正程序中的错误,使它能得出正确的结果。 注意:不要改动main函数,不得增行或删行,也不得更改程序的结构! 试题程序: #include<stdlib.h> #include<string.h> #include<conio.h> #include<stdio.h> #define MAXLINE 20 fun(char*pstr[6]) lnt i,j; char *p; for(i=O;i<5;i++) /********found********/ for(j=i+l,j<6,j++) if(strcmp(*(pstr+i)*(pstr+j))>0) P=*(psfr+i); /********found********/ *(pstr+i)=pstr+j; *(pstr+j)=p; void main() int i; char*pstr[6],str[6][MAXLINE]; system("CLS"); for(i=O;i<6;i++) pstr[i]=str[i]; printf("\nEnter 6 string(1 string at eachline):\n"); for(i=0;i<6;i++) scanf("%s",pstr[i]); fun(pstr); printf("The strings after sorting:\n"); for(i=O;i<6;i++) printf("%s\n"pstr[i]);