Returns a different integer each time it is called; each integer is chosen by an algorithm designed to be unpredictable, so that you can use <> when you require a random number.
Return value
int
the next pseudo-random integer in sequence; it is a number between 0 and RAND_MAX (inclusive).