string.h 的函數strrchr() ,需要一個字串及一個字元當作參數,回傳在字串中作為參數的字 ... char *test; test = strrchr(s, ' '); printf("%s\n", test); return 0; } ...
確定! 回上一頁