1 2 #include <iostream> 3 4 extern "C" 5 int foo(); 6 7 int main(void) { 8 std::cout << "Starting\n"; 9 std::cout << foo() << "\n"; 10 return 0; 11 } 12