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

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

1128


Explain with the aid of an example why arrays of structures don’t provide an efficient representation when it comes to adding and deleting records internal to the array.

3153


What is a macro, and explain how do you use it?

1081


Differentiate Source Codes from Object Codes

1581


What do you mean by invalid pointer arithmetic?

1079


What is function prototype in c language?

1034


Is there any possibility to create customized header file with c programming language?

1065


why do some people write if(0 == x) instead of if(x == 0)?

1080


What is c++ used for today?

1110


Did c have any year 2000 problems?

1112


What is a string?

1121


What is volatile variable how do you declare it?

1102


What is the difference between class and object in c?

1178


any limit on the number of functions that might be present in a C program a) max 35 functions b) max 50 functions c) no limit d) none of the above

1051


Write the control statements in C language

1208