If you want to get a single line of stdin in C, getline() is the go-to function. ... Why do we have to free(line) ? After all, there are no malloc ...
確定! 回上一頁