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 *)?



declare afunction pointer to int printf(char *)?..

Answer / 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

More C Interview Questions

do u print this format '(((())))'. This brackets is based on user input like 4 or 5 or 6,without using any loop's?

1 Answers   Oracle,


What is the explanation for cyclic nature of data types in c?

0 Answers  


What are the 5 types of organizational structures?

0 Answers  


what are bitwise shift operators?

4 Answers  


`write a program to display the recomended action depends on a color of trafic light using nested if statments

0 Answers  


what do you mean by defining a variable in our c code?

2 Answers  


what is the flow of execution in cprogram? ex:printf();,scanf();

2 Answers  


what is answer for perfect number????????????????

1 Answers  


How was c created?

0 Answers  


hat is a pointer?

4 Answers   Assurgent,


What is the right way to use errno?

0 Answers  


How are Structure passing and returning implemented by the complier?

0 Answers   TISL,


Categories