Arithmetic operators are used for numeric calculations. They are of two types:
- Unary arithmetic operators
- Binary arithmetic operators
scanf() function scans each input field, character by character. It might stop scanning a particular input field before reaching the normal field-end character (whitespace), or it might terminate entirely.