Lets say I have written a program in C and compiled it with both gcc (as C) and g++ (as C++), which compiled executable will run faster: the one created by gcc or by g++? I think using the g++ compiler will make the executable slow, but I'm not sure about it.

Let me clarify my question again because of confusion about gcc:

Let's say I compile program a.c like this in the terminal:

gcc a.c

g++ a.c

Which a.out executable will run faster?

Edit
Report