以维基百科(http://en.wikipedia.org)为例,网站给出了scanf()和printf()两种不同且自相矛盾的解释,即scanf代表“scan format”,而printf代表“print formatted”:
1、"scanf" stands for "scan format", because it scans the input for valid tokens and parses them according to a specified format.
2、The class of printf functions (which stands for "print formatted") is a class of functions, typically associated with curly bracket programming languages, that accept a string parameter (called the format string) which specifies a method for rendering a number of other parameters (of which there typically may be arbitrarily many, of a variety of types) into a string.