When using the rand() function, how do you ensure that you will obtain the same series of numbers?

A. Pass srand() the same seed value.
B. Call it from a different location in the code.
C. Use the modulus operator with a different number after it.
D. You can’t. You always obtain random numbers.

A. Pass srand() the same seed value.

Computer Science & Information Technology

You might also like to view...

Internet Explorer defaults to the http prefix, so it is not necessary to type it

Indicate whether the statement is true or false

Computer Science & Information Technology

Where can you find the Citations tab?

A. Toolbox B. Media Browser C. Sidebar D. Header and Footer

Computer Science & Information Technology