// Suppose this is your c++ file code extern "C" { //Include that file also where definition of f is written f(int , char , float ); } int main() { f(1, 'g', 1.1); /// No Name mangling happen ... }