from my understanding the above should work. but i can't seem to get it to work. please help out ..Code:typedef void (*fp)(int i, int j);
void typedef_func(int i, int j)
{
cout << "i = " << i << " : j + " << j << endl;
}
int main()
{
fp obj;
obj(5,6);
return 0;
}