Use C from C++

When we use C functions from a C++ program, include appropriate headers.

The following example shows string.h included in a C++ program:
extern "C" {
#include <string.h>
}
Parent topic: C++ language considerations