#define RAND_MAX 32767
RAND_MAX expands to an integer constant expression that is the maximum value returned by rand.