/* * numsecs.c */ #include #include #include int main(void) { printf("\nInitial time is:\t\t%d\n", time(NULL) ); system("sleep 1"); printf("\nInitial time is:\t\t%d\n", time(NULL) ); system("sleep 1"); printf("\nInitial time is:\t\t%d\n", time(NULL) ); system("sleep 3"); printf("\nInitial time is:\t\t%d\n", time(NULL) ); return 0; }