I was trying to find the right answer to the question below and here are the 2 answers I come up with:
srand(time(NULL));
or
srand(clock());
If we want the random number library function to produce a different sequence of values each time the program is run which of the following statements should be used?