3 ms·
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
by Retric 9y ago
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.