#include "stdafx.h" int Sum(int a,int b) { return a+b; } int _tmain(int argc, _TCHAR* argv[]) { int (*fp)(int,int); int i; fp = Sum; i = fp(2,3); printf("%d\n",i); return 0; }
#include "stdafx.h" int Sum(int a,int b) { return a+b; } int _tmain(int argc, _TCHAR* argv[]) { int (*fp)(int,int); int i; fp = Sum; i = fp(2,3); printf("%d\n",i); return 0; }