Vidyalelo
Data Structure · Q587

Miscellaneous on Data Structures

Programming · Data Structure · question 587

Q587

What is the default value of seed if function rand() is called before srand()?

A.
srand(0)
B.
srand(1)
Answer
C.
srand(time(null))
D.
srand(-1)

Answer: Option B

Solution

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