Q75
Which of the following statements uses the computer's clock to initialize the random number generator?
A.
srand(time);
B.
srand(time(NULL));
AnswerC.
time(srand);
D.
time(srand(NULL));
Answer: Option B
Solution
Answer: Option B
No explanation is given for this question Let's Discuss on Board