1.

Which of the following lines of code will ensure that a different random sequence will occur with each run of the program in the Visual C programming language?

A. randomize( );
B. int number = 2 rand( ) % 5;
C. srand(time());
D. randomize(timer);
Answer» D. randomize(timer);


Discussion

No Comment Found