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 are the different file extensions involved when programming in C?

1201


How to write a program for machine which is connected with server for that server automatically wants to catch the time for user of that machine?

2036


Does c have enums?

1021


How many types of arrays are there in c?

994


What is a constant and types of constants in c?

1067


Explain how does free() know explain how much memory to release?

1007


Why c is called object oriented language?

999


What is hungarian notation? Is it worthwhile?

1165


PROGRAM TO WRITE CONTENTS OF 1 FILE IN REVERSE TO ANOTHER FILE,PROGRAM TO COPY 1 FILE TO ANOTHER BY SPECIFYING FILE NAMES AS COMMAND LINE

1945


What are reserved words?

1043


What is void main ()?

1004


What is pointer to pointer in c language?

1044


What are shell structures used for?

982


what is recursion in C

1016


Explain a file operation in C with an example.

1051