Skip to content

Latest commit

 

History

History
51 lines (46 loc) · 949 Bytes

File metadata and controls

51 lines (46 loc) · 949 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
translation.priority.ht
cs-cz
de-de
es-es
fr-fr
it-it
ja-jp
ko-kr
pl-pl
pt-br
ru-ru
tr-tr
zh-cn
zh-tw

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