C program execution takes absurdly long time

Running a simple C code (printing Hello World), takes a lot of time.

Here’s an example :-

#include <stdio.h>
int main(){
printf(“Hello World”);
return 0;
}

This program took about 4 seconds to complete. This being simplest program possible still takes a lot of time to run. More complex program take more than 15-20 seconds.
Please help me to correct this issue