Transcription: This example shows how to use a linkage specification to call a C function from a C++ program. SUM is declared with the linkage specification XTERNC. This tells the compiler that SUM is a C function. The C++ program can call SUM in the same way it calls a C++ function.