The srand function sets the starting point for generating a series of pseudorandom integers.
void srand( unsigned int n )
None.
EX1
#include <origin.h> int test_srand() { int nn; srand(1); nn = rand(); out_int("rand()=", nn); srand(1000); nn = rand(); out_int("rand()=", nn); return 1; }
rand
origin.h