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

declare afunction pointer to int printf(char *)?

Answer Posted / sunil singh

the function pointer to an int printf(char *) will be:

int (*ptr)(char*);

Now you can assign the function address to the pointer to a
function.

ptr = printf;

Is This Answer Correct ?    12 Yes 1 No



Post New Answer       View All Answers


Please Help Members By Posting Answers For Below Questions

What is pointer to pointer in c?

1152


WRITE A PROGRAM TO MERGE TWO SORTED ARRAY USING MERGE SORT TECHNIQUE..

2137


What is meant by gets in c?

1265


How can I find out if there are characters available for reading?

1165


What is ctrl c called?

1098


What are structure types in C?

1153


Why isnt any of this standardized in c?

1125


What is file in c language?

1050


What is huge pointer in c?

1135


What is the difference between new and malloc functions?

1181


What is wrong with this code?

1241


Which is best book for data structures in c?

1138


Explain what is the advantage of a random access file?

1175


What are reserved words with a programming language?

1203


What are the disadvantages of external storage class?

1104