2.13.6.5 rand

Declaration:

int rand(void);

Returns a pseudo-random number in the range of 0 to RAND_MAX.

The random number is returned.