#define ULONG_MAX 4294967295UL
ULONG_MAX is the maximum value for an object of type unsigned long int.