Function which returns pointers



Return type of function can be pointer to char, pointer to int, pointer to float, pointer to double and pointer to void.
Examples:
 a.   Function returning pointer to character.
 b.   Function returning pointer to integer
 c.   Function returning pointer to float.
 d.  Function returning pointer to double.
 e.  Function returning pointer to void i.e. generic pointer. 
Post a Comment