In the C programming language, scanf is short for scan formatted and is a control parameter used to read and store a string of characters. The string is usually read from an input source, but may come from other sources too. The image shows an example of scanf in action.

Computer abbreviations, Data type, Parameter, Programming terms