Which of the following snippet will effectively generate random numbers?
(a) rand();
(b) rand(10);
(c) rand(time(NULL));
(d) all of the mentioned
I got this question in an interview for internship.
Enquiry is from Random Number Generation in division Input and Output in C of C