Create c program to generate a random number