Golgappa.net | Golgappa.org | BagIndia.net | BodyIndia.Com | CabIndia.net | CarsBikes.net | CarsBikes.org | CashIndia.net | ConsumerIndia.net | CookingIndia.net | DataIndia.net | DealIndia.net | EmailIndia.net | FirstTablet.com | FirstTourist.com | ForsaleIndia.net | IndiaBody.Com | IndiaCab.net | IndiaCash.net | IndiaModel.net | KidForum.net | OfficeIndia.net | PaysIndia.com | RestaurantIndia.net | RestaurantsIndia.net | SaleForum.net | SellForum.net | SoldIndia.com | StarIndia.net | TomatoCab.com | TomatoCabs.com | TownIndia.com
Interested to Buy Any Domain ? << Click Here >> for more details...

What is Function Pointer? Explain with example?

Answer Posted / sanjay bhosale

function pointer is simply a pointer which holds the address of the function so we can call that function by using pointer.
It is helpful in situations where we are required to pass the function pointer as parameter to some previously defined functions.
for e.g.
in comparison method we may pass function pointer for function which will compare 2 items/objects and help to comparison method.

Is This Answer Correct ?    0 Yes 0 No



Post New Answer       View All Answers


Please Help Members By Posting Answers For Below Questions

What is #define used for in c?

1108


What is a struct c#?

1096


what do you mean by inline function in C?

1098


What is use of integral promotions in c?

1205


What does dm mean sexually?

1380


What is union in c?

1164


Hai sir, I had planned to write the NIC scientific engineer exam , plz post the sample question......

2232


Define circular linked list.

1080


Can we increase size of array in c?

1010


Explain how can I open a file so that other programs can update it at the same time?

1174


define string ?

1165


a single linked list consists of nodes a to z .print the nodes in reverse order from z to a using recursion

2838


in ‘C’ language for Matrix Multiplication fails” Introspect the causes for its failure and write down the possible reasons for its failure.

8113


What is the purpose of & in scanf?

1120


Is a pointer a kind of array?

1243