White Space Characters and non white space characters for scanf() function in C

White Space Characters in scanf(): scanf() function reads a white space character but does not stores any value. A white space character in scanf() function can be a tab, form feed, space or a new line.

Non White space characters in scanf(): A non white space character is read and then discarded by scanf(0. For example: %f%f will be read and then discarded.

Leave a Reply