The ____ function can be used to generate a random number in C.

A. rand()
B. srand()
C. random()
D. rnd()

Answer: A

Computer Science & Information Technology

You might also like to view...

A function is a predefined formula that performs a calculation

Indicate whether the statement is true or false

Computer Science & Information Technology

Math.round() returns a double value.

Answer the following statement true (T) or false (F)

Computer Science & Information Technology