Data comes in different types. It is important to know what type of data you are working with, as they can be easy to confuse. An example is knowing that the number 5 can be an integer (as in the number 5), as well as a character (the written character 5).
int number = 5;
Now there is no confusion, the variable number is assigned the integer value 5. C needs to be told what types to expect in order to work the way you want it to.
Data types and how they are assigned to variables is an essential part of your C course, and it’s important to understand.
Knowing how to give data the correct type is an important skill in all programming, but it is essential in C.