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 are function pointers? Provide an example.



What are function pointers? Provide an example...

Answer / nashiinformaticssolutions

Pointers to functions that allow dynamic invocation of functions. Example:
void (*funPtr)(int) = &printNumber;

Is This Answer Correct ?    0 Yes 0 No

Post New Answer

More C Interview Questions

Is c is a procedural language?

0 Answers  


study the code: #include<stdio.h> void main() { const int a=100; int *p; p=&a; (*p)++; printf("a=%dn(*p)=%dn",a,*p); } What is printed? A)100,101 B)100,100 C)101,101 D)None of the above

15 Answers   Accenture, TCS,


who is the father of c

4 Answers   Infosys,


The % symbol has a special use in a printf statement. How would you place this character as part of the output on the screen?

0 Answers  


Is r written in c?

0 Answers  


What is calloc malloc realloc in c?

0 Answers  


What is c mainly used for?

0 Answers  


what is the size of an integer variable?

4 Answers  


A collection of data with a given structure for excepting storing and providing on demand data for multiple users a) linked list b) datastructer c) database d) preprocessor

0 Answers  


main() { static char *s[]={"black","white","yellow","voilet"}; char **ptr[]={s+3,s+2,s+1,s}, ***p; p=ptr; **++p; printf("%s",*--*++p+3); }

1 Answers  


What do you mean by a local block?

0 Answers   InterGraph,


What is volatile variable how do you declare it?

0 Answers  


Categories