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?



Define function pointers?..

Answer / 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

More C Interview Questions

What is the code for 3 questions and answer check in VisualBasic.Net?

0 Answers   Infosys,


WRITE A PROGRAM IN C TO MULTIPLY TWO 2-D ARRAYS

4 Answers  


what is difference between C and C++

4 Answers  


What are near, far and huge pointers?

0 Answers   Hexaware, Thomson Reuters, Virtusa,


#define PRINT(int) printf("int = %d ",int) main() {< BR> intx,y,z; x=03;y=02;z=01; PRINT(x^x); z<<=3;PRINT(x); y>>=3;PRINT(y); }

0 Answers   Wilco,


int far *near * p; means

0 Answers   Honeywell,


What is the package for freshers(Non IIT) in amazon(hyderabad). And what is the same for those who are a contract employee.

0 Answers  


ATM machine and railway reservation class/object diagram

0 Answers   Zycus Infotech,


What is line in c preprocessor?

0 Answers  


what is difference between overriding and overloading?

1 Answers  


wat is output of the following int main() { const int j=2; int i; switch(i) { case 1:break; case j:break; default:break; } }

2 Answers  


what is meant by the "equivalence of pointers and arrays" in C?

3 Answers   Satyam,


Categories