random number generator in c

In this tutorial, we will see how to generate random number generator in c.

You can simply use rand() method to generate random numbers in c.
Let’s understand with the help of example.

Output:

13
51
12
40
47
18
66
50
66
62

That’s simple program to generate random number in c.

Leave a Reply

Your email address will not be published. Required fields are marked *