RAND_MAX Constant

stdlib.h

#define RAND_MAX 32767

Returns the largest number returned by rand.

RAND_MAX is a constant (here with value 32767) which is usually defined in stdlib.h. Its meaning is "the largest number returned by rand".