Standard C Functions


srand


Syntax

#include <stdlib.h>
void srand(unsigned seed);

Arguments

seed      genus for random numbers

Return Value

None

Description

Specifies the seed of pseudo random number that the rand() function returns.