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
What is this weird colon-member (" : ") syntax in the constructor?
What is the difference between global int and static int declaration?
Who invented turbo c++?
What is ios :: in in c++?
What do you mean by global variables?
What are the advantages of pointers?
What is the full form of india?
What are the advantages of using pointers in a program?
How do you initialize a string in c++?
Which bit wise operator is suitable for turning off a particular bit in a number?
Explain what is polymorphism in c++?
Who created c++?
What's the most powerful programming language?
Explain binary search.
What is the header file for setw?