Skip to content

Latest commit

 

History

History
33 lines (28 loc) · 754 Bytes

rand-max.md

File metadata and controls

33 lines (28 loc) · 754 Bytes
title ms.custom ms.date ms.reviewer ms.suite ms.technology ms.tgt_pltfrm ms.topic f1_keywords dev_langs helpviewer_keywords ms.assetid caps.latest.revision author ms.author manager
RAND_MAX | Microsoft Docs
11/04/2016
cpp-standard-libraries
article
RAND_MAX
C++
RAND_MAX constant
a2039697-8908-4911-bd2d-a2bdd19912a0
6
corob-msft
corob
ghogen

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