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

How do I declare an array of N pointers to functions returning pointers to functions returning pointers to characters?

2 Answers   CMC, Wipro,


What is the total generic pointer type?

0 Answers  


Explain the use of 'auto' keyword in c programming?

0 Answers  


In C language, a variable name cannot contain?

0 Answers  


C program to find frequency of each character in a text file?

6 Answers  


write function to reverse char array ... without using second array

3 Answers  


Which of the following operators is incorrect and why? ( >=, <=, <>, ==)

0 Answers  


1 1 1 1 2 1 1 3 3 1 1 4 6 4 1

3 Answers  


do ne body have any idea about the salary for the we r going to have interview. yup .. u got it right ..i m talking abt NIC.

1 Answers  


hi any body pls give me company name interview conduct "c" language only

0 Answers  


How to find a missed value, if you want to store 100 values in a 99 sized array?

0 Answers   Honeywell, Zomato,


WHAT IS THE DIFFERENCE BETWEEN malloc() and calloc() in c file management?

28 Answers   3D PLM, Code Studio, Deltech, IBM,


Categories