討論串[問題] 用遞迴做字串反轉..
共 2 篇文章
首頁
上一頁
1
下一頁
尾頁

推噓1(1推 0噓 8→)留言9則,0人參與, 最新作者csihcs (非天夜翔)時間16年前 (2009/07/04 23:20), 編輯資訊
0
0
0
內容預覽:
int reverse_string(char *);. char str[] = "123456789";. call time | reserve c call next. str value |. main:123456789 |. a:123456789 | 1. b:123456789 |
(還有579個字)

推噓5(5推 0噓 10→)留言15則,0人參與, 最新作者gs9706 (神手)時間16年前 (2009/07/04 21:26), 編輯資訊
0
0
0
內容預覽:
題目是這樣的..... Write a recursive function to reverse a string by C.. For example, char a[ ] = "ABCDEFGH" ;. printf (" %s \n", a); /* "ABCDEFGH" */. rever
首頁
上一頁
1
下一頁
尾頁