Why is the code generated for the “Hello world\ program ten times larger for C++ than for C?
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.