第十五週 寫一個函數,將兩個字符串鏈接

題目描述 寫一函數,將兩個字符串鏈接函數 輸入 兩行字符串spa 輸出 連接後的字符串3d 樣例輸入 123 abc 樣例輸出 123abc 解答: #include<stdio.h> #include<string.h> int main() { char str1[20],str2[20]; gets(str1); gets(str2); char *strca
相關文章
相關標籤/搜索