News for hackers. Stuff that matters.
Re:What happens before main() is executed in C and why is it... by Retric on Friday May 04, 2018 @07:48PM (#16999343)
It's somewhat misleading when they say the C++ code runs before main. What's going on is after the same initialization steps the first code of your program is executed.

C and C++ have different syntax for what that code is, but it's pure semantics as far as the computer is concerned and C++ gives you zero extra power.

There are no comments on this comment yet.