Home » Technical Questions » Programming

What's the difference between the functions rand(), random(), srand() and randomize()?

Correct Answer: rand() returns a random number random() returns a random number in a specified range srand() initialise a random number generator with a given seed value randomize() initializes a random number generator with a random value based o time

← Previous Question Next Question→

Discussion & Comments

No comments yet. Be the first to comment!
Join Discussion