Argument Suppression

From Appmethod Topics
Jump to: navigation, search

Go Up to scanf, wscanf

The assignment-suppression character is an asterisk (*), not to be confused with the C indirection (pointer) operator.

If the asterisk follows the percent sign (%) in a format specifier, the next input field is scanned, but it is not assigned to the next address argument.

The suppressed input data is assumed to be of the type specified by the type character that follows the asterisk character.

See Also