what is the advantage of function pointer
Answer Posted / vidhya
It is more efficient. So it mostly used in real type
application.
The use of pointer is to store address location of a
variable or a function.as similar we are storing a variable
address in a pointer variable and refering it ,we can store
the address of a function in pointer variable.
| Is This Answer Correct ? | 12 Yes | 6 No |
Post New Answer View All Answers
Dont ansi function prototypes render lint obsolete?
What is pointer to pointer in c?
what will be the output for the following main() { printf("hi" "hello"); }
Can math operations be performed on a void pointer?
Is array a primitive data type in c?
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
How does placing some code lines between the comment symbol help in debugging the code?
What is the use of typedef in c?
All technical questions
How does #define work?
Explain what is the use of a semicolon (;) at the end of every program statement?
How can I read data from data files with particular formats?
Write a program to implement a round robin scheduler and calculate the average waiting time.Arrival time, burst time, time quantum, and no. of processes should be the inputs.
How can you find the exact size of a data type in c?
When do you not use the keyword 'return' when defining a function a) Always b) Never c) When the function returns void d) dfd