Vidyalelo
Data Structure · Q133

Miscellaneous on Data Structures

Programming · Data Structure · question 133

Q133

What is the purpose of using function srand()?

A.
to set the seed of rand() function
Answer
B.
to generate random numbers
C.
to enable rand() function
D.
to improve efficiency of rand()

Answer: Option A

Solution

Answer: Option A
No explanation is given for this question Let's Discuss on Board