Development C

#include
#include
#include /* sleep() */
#include
int main(void) {
time_t start, end;
start = time(NULL);
if(start == (time_t)-1) {
fprintf(stderr, "Error: `time()'\n");
return 1;
}
printf("sleepingggzzzzzzz....5sec's\n");
sleep(5);
end = time(NULL);
printf("according to difftime(), slept for %.2f sec's\n", difftime(end, start));
return 0;
}