![]() |
srand | Function (Macro) |
stdlib.h |
void srand (unsigned long seed); |
Initializes random number generator.
The random number generator is reinitialized by calling srand with an argument value of 1. It can be set to a new starting point by calling srand with a given seed number (if an argument is set to seed).