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 and where we will use it

Answer Posted / raghanna

A function pointer is a variable that stores the address of a function that can later be called through that function pointer. This is useful because functions encapsulate behavior. For instance, every time you need a particular behavior such as drawing a line, instead of writing out a bunch of code, all you need to do is call the function.

Is This Answer Correct ?    1 Yes 0 No



Post New Answer       View All Answers


Please Help Members By Posting Answers For Below Questions

Can i use “int” data type to store the value 32768? Why?

1187


Why c is a procedural language?

1048


what are the advantages of a macro over a function?

1139


a value that does not change during program execution a) variabe b) argument c) parameter d) none

1234


Why is c platform dependent?

1084


What is NULL pointer?

1087


Is there a built-in function in C that can be used for sorting data?

1250


What are pragmas and what are they good for?

989


Differentiate fundamental data types and derived data types in C.

1030


What is a far pointer in c?

1039


PLS U SENS ME INTERVIEW O. MY EMAIL ADD, SOFIYA.SINGH@GMAIL.COM

2179


if the area was hit by a virus and so the decrease in the population because of death was x/3 and the migration from other places increased a population by 2x then annually it had so many ppl. find our the population in the starting.

5227


What are the primitive data types in c?

1070


How do you construct an increment statement or decrement statement in C?

1226


main() { inta=10,b=20; a>=5?b=100:b=200; printf("%d ",b); }

1544