1.

Which of the following statements uses the computer's clock to initialize the random number generator?

A. srand(time);
B. srand(time(NULL));
C. time(srand);
D. time(srand(NULL));
Answer» C. time(srand);


Discussion

No Comment Found

Related MCQs