Go to the first, previous, next, last section, table of contents.


random

Syntax

#include <stdlib.h>

long random(void);

Description

Returns a random number in the range 0..MAXINT.

Return Value

0 .. MAXINT

Portability

not ANSI, not POSIX


Go to the first, previous, next, last section, table of contents.