I want to show you about little bit of data types in C, input and output in programming, and input redirection.
1. Data types in C
Example:- int: For integer number.
The input is &d and the output is %d
- float: For decimal or fraction.
The input is &f and the output is %f
- double: same like float but it has more range.
The input is &lf and the output is %lf
- char: to write a word.
The input is &c and the output is %c
That's the example of data types in C that i know. There is still more. you can see it from internet, or you can see from this link: https://en.wikipedia.org/wiki/C_data_types (i recommended from wikipedia hehe)