Home / CSE / Object Oriented Programming Using C++ :: Discussion

Discussion :: Object Oriented Programming Using C++

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

  2. A.
    srand(time);
    B.
    srand(time(NULL));
    C.
    time(srand);
    D.
    time(srand(NULL));

    View Answer

    Workspace

    Answer : Option B

    Explanation :

    No answer description available for this question.


Be The First To Comment