Integers are whole numbers that can have both zero, positive and negative values but no decimal values. For example,
We can use
int for declaring an integer variable.
Here, id is a variable of type integer.
You can declare multiple variables at once in C programming. For example,
int id, age;
The size of
int is usually 4 bytes (32 bits). And, it can take
232 distinct states from