第2题
11. COVID-19 has brought a(n) _____ health crisis, for until April 10, 2020, more than 1.4 million people around the world have been infected by the coronavirus, with cumulative fatalities approaching 90,000. (precedent)
点击查看答案
第3题
下列程序能将字符串s1中的所有与字符串str1相同的子串替换成字符串sb2,并将替换后的新串存于字符数组s2中。 include<stdio. h> void replace(s1,s2,str1,str2) char *s1,*s2,*str1,*str2; { char *t0,*t1,*t2,*x,*y; x=s1;y=s2; while(【 】) { for(t0=s1,t1=str1; ((*t1!=\O&& 【 】;t0++,t1++); if(*t1!=\0) *s2++=【 】; else { for(t1=str2;*t1!=\0;) *s2++= 【 】; 【 】; } } *s2=\0; } main () { static char s1[]="abcdef ababcd abab.",s2125]; replace (s1, s2, "abc", "XYZ"); printf("%s\n",s2); }
点击查看答案