段、保压补缩阶模塑料制品增强的方法有底面加强和边缘加强、()等。
参考答案:平板侧壁加强
有以下程序: #defme P 3 void P(int x){return(p*x*x); } main() {pritnf("%d\n",F(3+5);} 程序运行后的输出结果是( )。
A.192
B.29
C.25
D.编译出错
下列给定程序中,函数fun()的功能是:用冒泡法对6个字符串按由小到大的顺序进行排序。 请改正程序中的错误,使它能得出正确的结果。 注意:不要改动main函数,不得增行或删行,也不得更改程序的结构. 试题程序: #include <conio.h> #include <stdio.h> #define MAXLINE 20 /*************found**************/ fun(char *pstr[6]) int i, j; char *p; for(i=0;i<5;i++) for(j=i+l;j<6;j++) /*************found**************/ if(strcmp(*(pstr+i),pstr+j)>0)p=*(pstr+i); /*************found**************/* (pstr+i) -pstr+j;* (pstr+j)=p; main ( )int i;char *pstr[6],str[6][MAXLINE];clrscr();for(i=0;i<6;i++) pstr[i]=str[i];printf("\nEnter 6 string(1 string at each line):\n ");for(i=0;i<6;i++) scanf("%s",pstr[i]);fun(pstr);printf("The strings after sorting:\n ");for(i=0;i<6;i++) printf("%s\n ",pstr[i]);