srand seeds the random number generation function rand so it does not produce the same sequence of numbers.
Library: stdlib.h Prototype: void srand(unsigned int seed); Syntax: unsigned int seed=10; /* seed value */ srand();
Top | Master Index | Keywords | Functions |