srand()

Syntax
  #include <stdlib.h>

  
  void srand(unsigned int seed);

  
Description

srand() initializes the seed of the random number generator. The default seed is 1.

See also

rand()