#include using namespace std; extern "C" void PrintHello() { printf("Hello world from C++!\n"); return; } extern "C" void Newline() { printf("\n"); } extern "C" void PrintNumber(int n) { printf("The number is %d\n", n); return; } extern "C" int AddEm(int a, int b){ return a+b; } extern "C" void PrintAndIncrement(int & n) { printf("The number is %d\n", n); ++n; return; } extern "C" void FillArray(int data[], int size) { for (int i{0}; i < size; ++i) { data[i] = 100 + i; } return; } extern "C" void PrintArray(const int data[], int size) { for (int i{0}; i < size; ++i) { printf("Array[%d] = %d\n", i, data[i]); } return; }