[c] How to use function srand() with time.h?