Common stdlib functions
void exit (int x);
- prematurely ends program execution
void srand (unsigned int x);
- “seeds” the random number generator with an unsigned integer that is used to start the calculations that generate the pseudo-random number
int rand (void);
- returns an unsigned pseudo-random integer in the range of 0 to 65535 or 0 to 4294967295 depending on the size of an integer on the system your on
- num = rand();