填空題

完善程序,把str2中前面3個字符復(fù)制到str1中去。charstr1[10],str2[]={“china”};()

答案: strcpy(str1,str2,3)
題目列表

你可能感興趣的試題

填空題

完善程序,把字符串“student”復(fù)制到str1數(shù)組中,charstr1[20];();

答案: strcpy(str1,”student”);
微信掃碼免費(fèi)搜題