在生活中,面对恶意的侮辱与低毁,我们要及时回击,必要时运用法武器捍卫自尊。[ ]
√
长度为10m、15m、20m的聚氯乙烯防水卷材。当其厚度为1.5mm时,其允许偏差为±0.20mm。( )
下列给定程序中,函数proc()的功能是:依次取出字符串中所有的字母字符,形成新的字符串,并取代原字符串。 例如,若输入的字符串是:ab232bd34bkw,则输出结果是:abbdbkw。 请修改程序中的错误,使它能得到正确结果。 注意:不要改动main()函数,不得增行或删行,也不得更改程序的结构。 试题程序: #include<stdlib.h> #include<stdio.h> #include<conio.h> void proc(char * str) int i, j; for(i=0, j=0; str[i]!=’\0’; i++) //************found************* if((str[i]>=’A’ &&str[i]<=’z’)&&(str[i]>=’a’&&str[i]<=’z’)) str[j++]=str[i]; //************found************* str[j]="\0"; void main() char item[80]; system("CLS"); printf("\nEnter a string: "); gets(item); printf("\n\nThe string is:%s\n", item); proc(item); printf("\n\nThe string of changing is: %sin", item);