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.

Answer Posted / 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       View All Answers


Please Help Members By Posting Answers For Below Questions

What is the purpose of 'register' keyword?

1057


What does the error 'Null Pointer Assignment' mean and what causes this error?

1185


How many bytes is a struct in c?

1118


What do you mean by command line argument?

1111


what will be maximum number of comparisons when number of elements are given?

1861


What are the parts of c program?

1052


What is unsigned int in c?

942


What is function prototype in c language?

992


What are the different types of errors?

1084


Why do we use int main?

1054


Is a house a shell structure?

1118


Are the variables argc and argv are always local to main?

980


What are dangling pointers? How are dangling pointers different from memory leaks?

1245


Why do we use header files in c?

1033


Can one function call another?

1059