討論串[問題] 字串反轉
共 2 篇文章
首頁
上一頁
1
下一頁
尾頁
內容預覽:
以下我自己寫了一個字串反轉的code. void reverse(char *a). {. int size = strlen(a);. char temp;. for(int i=0; i<size/2 ; i++). {. temp = *(a+i);. *(a+i) = *(a+size-1-
(還有138個字)
內容預覽:
開發平台(Platform): (Ex: VC++, GCC, Linux, ...). DEV. 問題(Question):. 編譯可以 但是執行會當機. 餵入的資料(Input):. 變動字串. 預期的正確結果(Expected Output):. 輸入ABC 輸出CBA. 錯誤結果(Wrong
(還有11個字)
首頁
上一頁
1
下一頁
尾頁