You are not logged in.
- Topics: Active | Unanswered
Pages:: 1
#1 2017-07-31 06:50:37
C / C++ Programming Language Quiz Question.
Programming Languages Quizzes C / C++ Programming Language
Question:
Which of the following statements uses the computer's clock to initialize the random number generator?
Option A):
srand(time(NULL));
Option B):
time(srand(NULL));
Option C):
srand(time);
Option D):
time(srand);
Correct Answer is Option A):
srand(time(NULL));
Offline
2017-07-31 06:50:37
- Advertisement
- Ads By Google
Re: C / C++ Programming Language Quiz Question.
\n