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 is the advantage of function pointer

Answer Posted / sudeep reddy

function pointers can be used to replace switch/if
statements,to realize late binding(virtual function tables)
or to implement callback function primitives.

Is This Answer Correct ?    0 Yes 0 No



Post New Answer       View All Answers


Please Help Members By Posting Answers For Below Questions

What do header files do?

1072


What is clrscr ()?

1106


What is volatile variable how do you declare it?

1097


a formula,a series of steps,or well defined set of rules for solving a problem a) algorithem b) program c) erdiagram d) compiler

1074


Which control loop is recommended if you have to execute set of statements for fixed number of times?

1345


What is the difference between ++a and a++?

1205


A global variable when referred to in another file is declared as this a) local variable b) external variable c) constant d) pointers

1194


Write a C program to count the number of email on text

1913


typedef struct{ char *; nodeptr next; } * nodeptr ; What does nodeptr stand for?

1637


Why is not a pointer null after calling free? How unsafe is it to use (assign, compare) a pointer value after it is been freed?

1129


What are the key features in c programming language?

1070


In C language what is a 'dangling pointer'?

1138


Write a C program in Fibonacci series.

1088


Differentiate between new and malloc(), delete and free() ?

1181


what type of questions arrive in interview over c programming?

2029