-
An integer constant must have at least one digit.
-
It must not be in decimal form.
-
It can be either negative or positive.
-
If there is no sign in prefix, then it assumed as positive.
-
No commas, special symbols, alphabets, or blanks are allowed in an integer constants.
-
The allowable range for integer constants is –2147483648 to +2147483648.
NOTE: frankly speaking integer constants depends upon compiler. For visual studio, gcc, it is as mentioned above but for compilers like Turbo C its range varies from - 32768 to +32768.