Hello,
I try to give a parameter in the function tt; but omething went
wrong?? Any idea what i can do??
int ret_integer()
{
return 76;
}
int (*tt(int dummy))()
{
return ((int(*)()) ret_integer());
}
int main()
{ int(*pq)();
pq = tt(23);
pq(); // bang bang
return 0;
}
Thanks a lot C folks
I try to give a parameter in the function tt; but omething went
wrong?? Any idea what i can do??
int ret_integer()
{
return 76;
}
int (*tt(int dummy))()
{
return ((int(*)()) ret_integer());
}
int main()
{ int(*pq)();
pq = tt(23);
pq(); // bang bang
return 0;
}
Thanks a lot C folks
Comment