questions about name mangling in C++
C does not do name mangling, though it does pre-pend an underscore to function names, so the printf(3) is actually _printf in the libc object. In C++ the story is different. The history of it is that originally Stroustrup created “C with classes” or cfront, a compiler that would translate early C++ to C. Then … Read more