#include <stdio.h>
#include <unistd.h>
void myFunction() {
printf("Function executed after 5 seconds!\n");
}
int main() {
printf("Waiting for 5 seconds...\n");
sleep(5); // Pause for 5 seconds
myFunction();
return 0;
}
/*
run:
Waiting for 5 seconds...
Function executed after 5 seconds!
*/