srand
Starts a new sequence of pseudo-random integers to be returned by subsequent calls to the rand function
#include <stdlib.h>
void srand (
unsigned int seed);
None
A particular sequence of pseudo-random integers can be repeated by calling srand with the same seed parameter value.