What is function srand(unsigned)?
(a) Sets the seed for rand
(b) Doesn’t exist
(c) Is an error
(d) None of the mentioned
I have been asked this question in examination.
This interesting question is from Random Number Generation topic in section Input and Output in C of C