Recall that a C-style string is a character array that ends with the null character ... char lastname[20]; scanf("%s", lastname); // if the user types "van ...
確定! 回上一頁