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
Explain what is polymorphism in c++?
What is different in C++, compare with unix?
how to connect with oracle 9i with server in socket program in c/c++
Define a nested class. Explain how it can be useful.
What is == in programming?
What does floor mean in c++?
What are the important differences between c++ and java?
List the issue that the auto_ptr object handles?
program explaining feautures of c++
Why are pointers not used in c++?
What is the difference between passing by reference and passing a reference?
What is the use of typedef?
What is setf in c++?
Do you know about C++ 11 standard?
What are the four partitions in which c++ compiler divides the ram?