以下程序用以删除字符串所有的空格,请填空。#includemain(){chars[100]={"OurteacherteachClanguage!"};inti,j;for(i=j=0;s[i]!=’’;i++)if(s[i]!=''){s[j]=s[i];j++;}s[j]=printf(“%sn”,s);}
以下程序用以删除字符串所有的空格,请填空。#includemain(){chars[100]={"OurteacherteachClanguage!"};inti,j;for(i=j=0;s[i]!=’’;i++)if(s[i]!=''){s[j]=s[i];j++;}s[j]=printf(“%sn”,s);}
1