替換空格(c語言完整版程序)

題目:請實現一個函數,把字符串中的每一個空格替換爲「20%」。例如輸入「we are happy」,則輸出「we20%are20%happy」;web #include<stdio.h> #include<stdlib.h> #include<string.h> void replaceBlank(char string[],int len) { int oriLen = 0;
相關文章
相關標籤/搜索