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

What is the difference between functions abs() and fabs()?

1148


If i have an array 0 to 99 i.e,(Size 100) I place the values 1 to 100 randomly like a[0]=29,a[1]=56 upto array[99].. the values are only between 1 to 100. getting the array values by using scanf.. If i entered one wrong element value line a[56]=108. how can i find it.. and also how to find the missing value in 1 to 100.. and i want to replace the missing values.. any one of them know please post your answer..

2017


What header files do I need in order to define the standard library functions I use?

1051


Which function in C can be used to append a string to another string?

1216


what is the role you expect in software industry?

2142


What are Macros? What are its advantages and disadvantages?

1157


write a program to find the given number is prime or not

4747


An arrangement of information in memory in such a way that it can be easily accessed and processed by a programming language a) string b) data structure c) pointers d) array

1133


main() { int i = 10; printf(" %d %d %d ", ++i, i++, ++i); }

1151


Why do we need arrays in c?

1152


What is an auto keyword in c?

1096


Does c have circular shift operators?

1230


What is the difference between union and structure in c?

1168


Write a program that accept anumber in words

1756


Who developed c language and when?

1060