Its evident as to what *[^\n] alone means, however, I am not sure what the ramifications of including the %c has for reading input.
CodePudding user response:
It means take one char (%c) that discard (*) until seeing the \n ([^\n]).
CodePudding user response:
Te %c
modifiers means that input will be read into a char
variable when parsed by the scanf
function.