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

I came across some code that puts a (void) cast before each call to printf. Why?

1154


What are the different file extensions involved when programming in C?

1205


difference between Low, Middle, High Level languages in c ?

2024


Declare the structure which contains the following members and write in C list of all students who score more than 75 marks. Roll No, Name, Father Name, Age, City, Marks.

1258


What is "Duff's Device"?

1113


What is a string?

1052


How do you list files in a directory?

1075


What is cohesion and coupling in c?

984


What are global variables and how do you declare them?

1016


Explain what is the most efficient way to store flag values?

1173


What is a floating point in c?

1007


Give differences between - new and malloc() , delete and free() ?

1045


What are the advantages and disadvantages of a heap?

1147


When we use void main and int main?

1018


please explain clearly about execution of c program in detail,in which stage are the printf sacnf getting into exeecutable code

2131