Answer Posted / nikhil upadhyay
By using the extern "C" linkage specification around the C function declarations.
Programmers should know about mangled function names and type-safe linkages. Then they should explain how the extern "C" linkage specification statement turns that feature off during compilation so that the linker properly links function calls to C functions. Another acceptable answer is "I don't know. We never had to do that." Merely describing what a linker does indicates that the programmer does not understand the issue that underlies the question.
Is This Answer Correct ? | 0 Yes | 0 No |
Post New Answer View All Answers
Is atoi safe?
What is the full form of india?
Why do we need templates?
What are the methods of exporting a function from a dll?
Explain the difference between static and dynamic binding of functions?
What is Destructor in C++?
Which software is used for c++ programming?
Is c++ the most powerful language?
What is c++ good for?
What is a dll entry point?
What is null c++?
Can user-defined object be declared as static data member of another class?
What do you know about near, far and huge pointer?
What is null pointer and void pointer?
If you hear the cpu fan is running and the monitor power is still on, but you did not see anything show up in the monitor screen. What would you do to find out what is going wrong?