InterviewSolution
Saved Bookmarks
| 1. |
What is function srand(unsigned)?(a) Sets the seed for rand(b) Doesn’t exist(c) Is an error(d) None of the mentionedI 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 |
|
Answer» CORRECT CHOICE is (a) SETS the SEED for rand Explanation: NONE. |
|