Integer variables in C language include long integer, short integer, signed integer and unsigned integer. How to use these variables and which one to use under what circumstances!
Actually, don't worry too much about this. It depends. If you have an embedded system and little memory, use the least number of bytes to represent the range, unsigned char, unsigned int, etc. When the memory requirement is not big, we usually use signed int, which is the general int.