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

Explain function pointer with exapmles.

Answer Posted / vishnu

int temp(char t, int k)
{
t = 'd';
k = 90;
return 1;

}

int main()
{

int (* fun)(char ch, int i);// function pointer
fun = temp;
}

Is This Answer Correct ?    0 Yes 0 No



Post New Answer       View All Answers


Please Help Members By Posting Answers For Below Questions

How can my program discover the complete pathname to the executable from which it was invoked?

1034


What are the different types of control structures?

986


Explain union. What are its advantages?

1007


What is fflush() function?

1079


Why we use int main and void main?

1017


What is the most efficient way to count the number of bits which are set in an integer?

1001


Can we declare variable anywhere in c?

920


how many types of operators are include in c language a) 4 b) 6 c) 8 d) 12

1017


What is an endless loop?

1230


Write a program to print factorial of given number without using recursion?

951


What is the easiest sorting method to use?

1097


Is it better to use a macro or a function?

1099


Is main is user defined function?

1071


What is the c language function prototype?

1041


What is break in c?

984