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

How do you list files in a directory?

1138


Take an MxN matrice from user and then sum upper diagonal in a variable and lower diagonal in a separate variables. Print the result

1898


What is the purpose of realloc()?

1139


What are linked lists in c?

1125


c programs are converted into machine language with the help of a) an interpreter b) a compiler c) an operatinf system d) none of the above

1254


Explain spaghetti programming?

1243


What is a MAC Address?

1054


When c language was developed?

1058


Why does everyone say not to use scanf? What should I use instead?

1422


Are pointers integer?

1007


How is null defined in c?

1150


Explain why C language is procedural?

1219


What is 2 d array in c?

1020


Write a program to swap two numbers without using third variable?

1289


What is the deal on sprintf_s return value?

1129