Important Notice: Our web hosting provider recently started charging us for additional visits, which was unexpected. In response, we're seeking donations. Depending on the situation, we may explore different monetization options for our Community and Expert Contributors. It's crucial to provide more returns for their expertise and offer more Expert Validated Answers or AI Validated Answers. Learn more about our hosting issue here.

Why is the code generated for the “Hello world\ program ten times larger for C++ than for C?

code larger program times world
0
Posted

Why is the code generated for the “Hello world\ program ten times larger for C++ than for C?

0

It isn’t on my machine, and it shouldn’t be on yours. In fact, the object code for the C++ version of the “hello world” program is smaller than the C version on my machine. There is no language reason why the one version should be larger than the other. It is all an issue on how the implementor organized the libraries. If one version is significantly larger than the other, report the problem to the implementor of the larger.

Related Questions

What is your question?

*Sadly, we had to bring back ads too. Hopefully more targeted.

Experts123