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...

Define function pointers?

Answer Posted / preeti singh

A function pointer is a type of pointer that points to a
function, for e.g. a pointer to the function :
int fun(int a,int b)

can be declared as :
int(*myptr)(int a,int b);

here myptr is a type of pointer which can point to any
function which takes two integer arguments and returns int.

Is This Answer Correct ?    5 Yes 0 No



Post New Answer       View All Answers


Please Help Members By Posting Answers For Below Questions

I heard that you have to include stdio.h before calling printf. Why?

1070


What is a ternary operator in c?

1125


What is void c?

1094


write a program to generate address labels using structures?

4578


the question is that what you have been doing all these periods (one year gap)

2090


main use of recursive function a) processing speed high b) reduce program length/reduce repeated statements c) if you do not, use iterative methods like, for, while or do-while d) all the above

1098


Why c language is called c?

1020


What is pointers in c with example?

1078


Where register variables are stored in c?

970


Is return a keyword in c?

1090


Is c dynamically typed?

1164


Explain is it better to bitshift a value than to multiply by 2?

1204


Explain threaded binary trees?

1162


please can any one suggest me best useful video tutorials on c i am science graduate.please help me.u can email me to sas29@in.com

1777


Write a simple code fragment that will check if a number is positive or negative.

1156