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 can I run c program?

1231


What is the difference between abs() and fabs() functions?

1175


What is const volatile variable in c?

1101


Where define directive used?

1140


What is malloc and calloc?

1101


What are the 4 types of functions?

1108


What is header file definition?

1137


main(){char *str;scanf("%s",str);printf("%s",str); }The error in the above program is: a) Variable 'str' is not initialised b) Format control for a string is not %s c) Parameter to scanf is passed by value. It should be an address d) none

1410


What is the advantage of a random access file?

1251


What is assignment operator?

1109


Explain which function in c can be used to append a string to another string?

1136


How do you list a file’s date and time?

1108


How is a structure member accessed?

1185


How reliable are floating-point comparisons?

1140


Is null always defined as 0(zero)?

1174