| title | RAND_MAX | Microsoft Docs | |
|---|---|---|
| ms.custom | ||
| ms.date | 11/04/2016 | |
| ms.reviewer | ||
| ms.suite | ||
| ms.technology |
|
|
| ms.tgt_pltfrm | ||
| ms.topic | article | |
| f1_keywords |
|
|
| dev_langs |
|
|
| helpviewer_keywords |
|
|
| ms.assetid | a2039697-8908-4911-bd2d-a2bdd19912a0 | |
| caps.latest.revision | 6 | |
| author | corob-msft | |
| ms.author | corob | |
| manager | ghogen |
#include <stdlib.h>
The constant RAND_MAX is the maximum value that can be returned by the rand function. RAND_MAX is defined as the value 0x7fff.