Forums
New posts
Search forums
Members
Current visitors
Log in
Register
What's new
Search
Search
Search titles only
By:
New posts
Search forums
Menu
Log in
Register
Install the app
Install
Forums
Archive
Archive
C Programming
Why does execution start at main()?
JavaScript is disabled. For a better experience, please enable JavaScript in your browser before proceeding.
Reply to thread
Message
[QUOTE="Malcolm, post: 1710078"] This is worth pointing out. On hosted implementations there has to be some code to set everything up and code to free memory and flush buffers on exit. So the compiler seldom if ever compiles main as a normal function with the entry point also happening to be the first instruction in the executable. [/QUOTE]
Verification
Post reply
Forums
Archive
Archive
C Programming
Why does execution start at main()?
Top