1.

Which is the best way to generate numbers between 0 to 99?

A. rand()-100
B. rand()%100
C. rand(100)
D. srand(100)
Answer» B. rand()%100


Discussion

No Comment Found