Page 1 of 1

Which of the following snippet will effectively generate random numbers?

Posted: Wed Jul 13, 2022 7:54 pm
by answerhappygod
a) rand();
b) rand(10);
c) rand(time(NULL));
d) all of the mentioned