externc.cpp 132 Bytes Edit Raw Blame History 1 2 3 4 5 6 7 8 9 10 11 12 extern "C" int fun1(); extern "C" { void fun2(int a); int fun3(double b); } int main() { int a=fun1(); fun2(a); a=fun3(3.14); }