I have this constant:
#define MAX_DATE 2958465L
What does the L mean in this sense?
I have this constant:
#define MAX_DATE 2958465L
What does the L mean in this sense?
It is a long integer literal.
Integer literals have a type of int by default; the L suffix gives it a type of long (Note that if the value cannot be represented by an int, then the literal will have a type of long even without the suffix).