Explain the term printf() and scanf() used in C language?
S.no | printf() | scanf() |
---|---|---|
1. | Output function | Input function |
2. | Prints character, float, integer, hexadecimal and octal, and values | Reads string, character, and numeric data |
3. | Rarely needs pointer | Always needs pointer |
BY Best Interview Question ON 06 Feb 2019