Interview Questions

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

C++ Interview Questions and Answers


(Continued from previous question...)

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

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

(Continued on next question...)

Other Interview Questions