every program has a main method. Well, maybe not Header Files. But, main is a special name and it exists as the entry point.

Structure

int main(int argc, char* argv, char* envp){
 
}