Name

RAND_MAX macro — Maximum value returned by rand

Synopsis

int RAND_MAX
               

RAND_MAX is the maximum value that rand can return. The RAND_MAX macro expands to an integer constant.

Get C++ In a Nutshell now with the O’Reilly learning platform.

O’Reilly members experience books, live events, courses curated by job role, and more from O’Reilly and nearly 200 top publishers.