what is srand function in c code example Example: srand() C #include <stdlib.h> #include <time.h> srand(time(NULL));