
rand function in c programming is used to generate the pseudo-random numbers with the help of rand c function.rand c function return the pseudo-random numbers which is exist between 0 and RAND_MAX.rand function in c didn't use any parameters. Syntax for rand c : -
int rand(void)
Example...