what is the advantage of function pointer
Answer Posted / sanjeeva rao
It is useful when you want to send function as argument to
another function. And to implement the call back functions in multi-threading programming.
| Is This Answer Correct ? | 1 Yes | 1 No |
Post New Answer View All Answers
main use of recursive function a) processing speed high b) reduce program length/reduce repeated statements c) if you do not, use iterative methods like, for, while or do-while d) all the above
What does the file stdio.h contain?
How can you increase the size of a statically allocated array?
Explain the use of 'auto' keyword
Explain is it better to use a pointer to navigate an array of values, or is it better to use a subscripted array name?
How can I split up a string into whitespace-separated fields?
1) There is a singing competition for children going to be conducted at a local club. Parents have been asked to arrive at least an hour before and register their children’s names with the Program Manager. Whenever a participant registers, the Program Manager has to position the name of the person in a list in alphabet order. Write a program to help the Program Manager do this by placing the name in the right place each time the Program Manger enters a name. 2) the Event Manager has to send participants to the stage to perform in the order in which they registered. Write a program that will help the Event Manager know who to call to the stage to perform. The Logic should be in Data Structures
Can two or more operators such as and be combined in a single line of program code?
Explain how do you sort filenames in a directory?
Are local variables initialized to zero by default in c?
What are called c variables?
Why is c faster?
What are the primitive data types in c?
Explain bit masking in c?
What is an lvalue?