C++ Programming Question: Download C++ Programming PDF

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

Tweet Share WhatsApp

Answer:

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

Download C++ Programming PDF Read All 120 C++ Programming Questions
Previous QuestionNext Question
How do I initialize a pointer to a function?Explain the scope resolution operator.