www.thecareerplus.com
The CareerPlus
Home Technical Resources Programming Functions
Wednesday 08th September 2010
 
 
Can we declare a function that can return a pointer to a function of the same type?

Discuss it!          


We cannot do it directly. Either have the function return a generic function pointer,
with casts to adjust the types as the pointers are passed around; or have it return
a structure containing only a pointer to a function returning that structure.

Discuss it!          

CrackTheIntervew.NET
Advertisement
 
Top! Top!