Skip to content

Latest commit

 

History

History
33 lines (28 loc) · 754 Bytes

File metadata and controls

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