Answers for "scanf with whitespace"

0

scanf with whitespace

//gets input including whitespace [50]-1 for null, until \n
scanf("%49[^\n]", userInput);
Posted by: Guest on April-23-2021

Browse Popular Code Answers by Language