網頁

2009年5月26日 星期二

C字串練習

C字串練習

字串 char word[]="You win!";
輸出為:
You win!
You win
You wi
You w
You
You
Yo
Y

給進階使用者: gets() 是個危險的函式!