scanf
Sign in to save'''''', short for scan formatted, is a C standard library function that reads and parses text from standard input.
Wikidata facts
Show 1 more fact
- Stack Exchange tag
- stackoverflow.com/tags/scanf
Sources (1)
via Wikidata · CC0
~9 min read
Article
7 sectionsContents
- History
- Usage
- Format string specifications
- Vulnerabilities
- See also
- References
- External links
'''''', short for scan formatted, is a C standard library function that reads and parses text from standard input.
The function accepts a format string parameter that specifies the layout of input text. The function parses input text and loads values into variables based on data type.
Connections
C file input/output
Entity
Q15777
Entity
data type
Entity
subroutine
Entity
string
Entity
GNU C Library
Entity
printf
Entity
double-precision floating-point format
Entity
whitespace
Entity
C data type
Entity
stdarg.h
Entity
C string handling
Entity
Linux
Entity
PHP
Entity
Java
Entity
Q2407
Entity
integer
Entity
Q2370
Entity
decimal
Entity
Dennis M. Ritchie
Entity