Q102
Which is the best way to generate numbers between 0 to 99?
A.
rand()-100
B.
rand()%100
AnswerC.
rand(100)
D.
srand(100)
Answer: Option B
Solution
Answer: Option B
No explanation is given for this question Let's Discuss on Board