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

Why c is called object oriented language?

693


hi any body pls give me company name interview conduct "c" language only

1771


What could possibly be the problem if a valid function name such as tolower() is being reported by the C compiler as undefined?

868


What math functions are available for integers? For floating point?

722


can anyone please tell about the nested interrupts?

1767






What is auto keyword in c?

862


Why are all header files not declared in every c program?

700


Do you have any idea how to compare array with pointer in c?

712


How the c program is executed?

730


What are pointers? Why are they used?

714


What is return type in c?

751


Why void main is used in c?

651


What is an example of structure?

682


how do you write a function that takes a variable number of arguments? What is the prototype of printf () function?

1570


a direct address that identifies a location by means of its displacement from a base address or segment a) absolute address b) relative address c) relative mode d) absolute mode

763