C function pointer reference

RequirementDeclaration of Function PointerInitialization of Function PointerCalling Function using Pointer
Return Type : None
Parameter   : None
void *(*ptr)();
ptr = &display;
(*ptr)();
Return Type : Integer
Parameter   : None
int *(*ptr)();
ptr = &display;
int result;
result = (*ptr)();
Return Type : Float
Parameter   : None
float *(*ptr)();
ptr = &display;
float result;
result = (*ptr)();
Return Type : Char
Parameter   : None
char *(*ptr)();
ptr = &display;
char result;
result = (*ptr)();

Example 1 : Function having two Pointer Parameters and return type as Pointer

#include<stdio.h>
char * getName(int *,float *);
int main()
{
char *name;
int  num = 100;
float marks = 99.12;
char *(*ptr)(int*,float *);
ptr=&getName;
name = (*ptr)(&num,&marks);
printf("Name : %s",name);
return 0;
}
//-------------------------------------
char *getName(int *ivar,float *fvar)
{
char *str="www.c4learn.com";
str = str + (*ivar) + (int)(*fvar);
return(str);
}

Output :

.c4learn.com