How does srand relate to rand function?

The random number seed is a global static variable. rand and srand both have access to it.

Leave a Comment