fgets and getline can both be used for input, but fgets leaves the memory allocation to the user, while getline allocates memory itself.
確定! 回上一頁