C++ Programming Question:
Download Questions PDF

How do you link a C++ program to C functions?

C++ Programming Interview Question
C++ Programming Interview Question

Answer:

By using the extern "C" linkage specification around the C function declarations.

Download C++ Programming Interview Questions And Answers PDF

Previous QuestionNext Question
How do I initialize a pointer to a function?Explain the scope resolution operator.