#include <stdlib.h>int rand(void);
rand computes a sequence of pseudo-random integers in the range 0 to RAND_MAX.
rand returns the computed pseudo-random integer.
rand conforms to ISO/IEC 9899:1990 (C90) and ISO/IEC 9899:1999 (C99).
srand RAND_MAX