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...

How do you initialize function pointers? Give an example?

Answer Posted / vadivel t

Sorry the above function pointer declaration should be like
this

(*pfunc)(int, int);

Is This Answer Correct ?    0 Yes 0 No



Post New Answer       View All Answers


Please Help Members By Posting Answers For Below Questions

how to write optimum code to divide a 50 digit number with a 25 digit number??

3215


typedef enum { html, java, javascript, perl, cgi } lang;The above statement defines a : a) Union b) User defined type c) Enumerated variable d) none

1171


Explain the bubble sort algorithm.

1014


Write a program to print "hello world" without using a semicolon?

1023


void main(int n) { if(n==0) return; main(--n); printf("%d ",n); getch(); } how it work and what will be its output...............it any one know ans plz reply

2719


What is the usage of the pointer in c?

1066


Write a C/C++ program to add a user to MySQL. The user should be permitted to only "INSERT" into the given database.

1942


What is the difference between array and structure in c?

1106


Some coders debug their programs by placing comment symbols on some codes instead of deleting it. How does this aid in debugging?

1092


How can you convert integers to binary or hexadecimal?

992


Why pointers are used in c?

961


Hai sir, I had planned to write the NIC scientific engineer exam , plz post the sample question......

2148


What is the use of bit field?

1139


What is a void pointer? When is a void pointer used?

1034


Why flag is used in c?

1082