单项选择题
在软件工程中,高质量的文档是______、一致性和无二义性的。
A.安全性
B.完整性
C.组合性
D.统一性
热门
试题
填空题
下列程序能将字符串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( 【8】 ) for(t0=s1,t1=str1; ((*t1!=’ O’&& 【9】 ;t0++,t1++); if(*t1!=’ 0’) *s2++= 【10】 ; else for(t1=str2;*t1!=’ 0’;) *s2++= 【11】 ; 【12】 ; *s2=’ 0’; main () static char s1[]= abcdef ababcd abab. ,s2125]; replace (s1, s2, abc , XYZ ); printf( %s n ,s2);