Given a function called counter(), show the statement that causes the compiler to compile this function for C language linkage.

      

Given a function called counter(), show the statement that causes the compiler to compile this function for c language linkage

  

Answers


Davis
extern "C" int counter();
Githiari answered the question on February 12, 2018 at 12:53


Next: What header must be included in a C++ program when using array-based I/O ?
Previous: What does a conversion function do in a C++ program?

View More Computer Science Questions and Answers | Return to Questions Index


Exams With Marking Schemes

Related Questions