。c

fun1()
{
return 10;
}

 fun2()
{
;
}



.cpp

// cDefaultInt.cpp : 定义控制台应用程序的入口点。
//

#include "stdafx.h"

extern "C"{
int fun1();
int fun2();
}

int _tmain(int argc, _TCHAR* argv[])
{
	printf("fun1()=%d\n",fun1());
	printf("fun1()=%d\n",fun2());
	return 0;
}

/*
fun1()=10
fun1()=-858993460
请按任意键继续. . .
*/