...
In a hosted environment there is one function whose name is special; it’s the one called main. This function is the first one entered when your program starts running. In a freestanding environment the way that a program starts up is implementation defined
...