RAND_MAX macro — Maximum value returned by rand
int RAND_MAX
RAND_MAX is the maximum value that rand can return. The RAND_MAX macro expands to an integer constant.
RAND_MAX
rand
rand function