the arguments for "%.*s" are the string width and the target string. it's syntax is : printf("%.*s", string_width, string); · example: printf("%.*s",3,"hello");.
確定! 回上一頁