Which of the following statements properly invokes the random number generator storing the resulting random number into myNumber.
A. myNumber = srand();
B. myNumber = srand(time(0));
C. myNumber = rand();
D. None of the above.
C. myNumber = rand();
Computer Science & Information Technology
You might also like to view...
Use the ________ key to select nonadjacent cells
A) Shift B) Enter C) Ctrl D) Tab
Computer Science & Information Technology
What is the main reason organizations give for not testing the recovery plan?
A) It provides motivation for maintaining and updating the recovery plan B) It may reveal gaps in the plan C) They have confidence in the plan D) It is a drain on time and resources
Computer Science & Information Technology