C Program to Generate Random Number

By Prem Tiwari in C Programming Tutorial. Updated on


This c program will generate the random numbers using rand() function. This is a very simple program. In this program, we have used for loop to generate multiple random numbers. As an example we print …