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


Please Help Members By Posting Answers For Below Questions

What is the difference between fread buffer() and fwrite buffer()?

665


What is a null pointer assignment error? What are bus errors, memory faults, and core dumps?

895


What is call by reference in functions?

553


Explain what are multidimensional arrays?

594


write a program to convert a expression in polish notation(postfix) to inline(normal) something like make 723+* (2+3) x 7 (not sure) just check out its mainly printing expression in postfix form to infix.

2260






Explain null pointer.

615


What is an identifier?

618


Explain the advantages and disadvantages of macros.

616


Explain how can I convert a string to a number?

636


if a is an integer variable, a=5/2; will return a value a) 2.5 b) 3 c) 2 d) 0

1439


How to establish connection with oracle database software from c language?

1669


Is it possible to initialize a variable at the time it was declared?

747


Explain what is operator promotion?

626


How do I determine whether a character is numeric, alphabetic, and so on?

617


What are runtime error?

618