RAND_MAX" -- Manifest Constant" "

Largest size of a pseudo-random number

#include <stdlib.h>

RAND_MAX is a manifest constant that is defined in the header stdlib.h. It indicates the largest pseudo-random number that can be returned by the function rand().

Example

For an example of using this manifest constant in a program, see rand().

See Also