Integral constants
As with expressions,
the rules for the types of certain integral constants have changed.
Previously, an unsuffixed decimal constant had type
int only if its value fit in an int
and an unsuffixed octal or hexadecimal constant had type
int only if its value fit in an unsigned int.
Otherwise, an integral constant had type long.
(At times the value did not fit in the resulting type!)
In ANSI C,
the constant type is the first type encountered
in the list below that corresponds to the value:
U suffixed:L suffixed:UL suffixed: