rand() // generates random numbers in the range 0 .. RAND_MAX
where the constant RAND_MAX is defined in stdlib.h (depends on the computer: on the CSE network, RAND_MAX = 2147483647)
RAND_MAX
stdlib.h
rand()