Page 1 of 1

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

Posted: Wed Jul 13, 2022 6:16 pm
by answerhappygod
a) srand(0)
b) srand(1)
c) srand(time(null))
d) srand(-1)