-

Functions HI-TECH C RAND

From HI-TECH C for CP/M Fan WIKI(EN)
Jump to: navigation, search

RAND

SYNOPSIS

#include  <stdlib.h>

int rand(void)


DESCRIPTION

Rand() is a pseudo-random number generator. It returns an integer in the range 0 to 32767, which changes in a pseudo-random fashion on each call.

SEE ALSO

srand