Skip to content

Latest commit

 

History

History
23 lines (17 loc) · 465 Bytes

File metadata and controls

23 lines (17 loc) · 465 Bytes
description Learn more about: RAND_MAX
title RAND_MAX
ms.date 11/04/2016
f1_keywords
STDLIB/RAND_MAX
RAND_MAX
helpviewer_keywords
RAND_MAX constant

RAND_MAX

Syntax

#include <stdlib.h>

Remarks

The constant RAND_MAX is the maximum value that can be returned by the rand function. RAND_MAX is defined as the value 0x7fff.

See also

rand
Global constants