適当な例。bcc5.5.1でコンパイル&実行

#include <stdlib.h>
#include <stdio.h>
#include <time.h>
#include <windows.h>

void func(){
srand(time(NULL));
printf("%d ", rand());
}

int main(){
int i;
srand(time(NULL));
for(i=0; i<20; i++)
printf("%d ", rand());
printf("\n");
for(i=0; i<20; i++)
func();
printf("\n");
for(i=0; i<20; i++){
func();
Sleep(1000);
}
return 0;

出力:
22201 17506 10327 21515 11769 30486 19614 1582 31820 209 26900 5342 13956 31930 23843 18046 1218 19168 4043 27868
22201 22201 22201 22201 22201 22201 22201 22201 22201 22201 22201 22201 22201 22201 22201 22201 22201 22201 22201 22201
22201 21985 21770 21554 21338 21123 20907 20692 20476 20260 20045 19829 19613 19398 19182 18966 18535 18319 18104 17888