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 "Hungarian Notation"?

1116


Can a variable be both constant and volatile?

1125


How main function is called in c?

1127


Where local variables are stored in c?

1012


What is a sequential access file?

1178


What is scope rule in c?

1070


What happens if a header file is included twice?

1037


What are the features of c language?

1074


The % symbol has a special use in a printf statement. Explain how would you place this character as part of the output on the screen?

1212


Explain what is the concatenation operator?

1174


Are local variables initialized to zero by default in c?

1053


What is self-referential structure in c programming?

1221


How to set file pointer to beginning c?

1203


Create a simple code fragment that will swap the values of two variables num1 and num2.

1289


What is the equivalent code of the following statement in WHILE LOOP format?

1307