what are function pointers?



what are function pointers?..

Answer / Rishabh Kumar Kashyap

Function pointers in C++ are variables that hold the addresses of functions. They allow functions to be passed as arguments to other functions, returned from functions, and stored in data structures.

Is This Answer Correct ?    0 Yes 0 No

Post New Answer

More C++ General Interview Questions

Explain the benefits of proper inheritance.

1 Answers  


What are the sizes and ranges of the basic c++ data types?

1 Answers  


Explain the difference between static and dynamic binding of functions?

1 Answers  


To what does “event-driven” refer?

1 Answers  


How do you clear a set in c++?

1 Answers  


What is type of 'this' pointer? Explain when it is get created?

1 Answers  


What is c++ runtime?

1 Answers  


What are the differences between public, private, and protected access?

12 Answers   IBM, Oracle, Wipro,


How can you find the nodes with repetetive data in a linked list?

1 Answers   Lucent,


Can a built-in function be recursive?

1 Answers  


What is meant by entry controlled loop? What all C++ loops are exit controlled?

1 Answers   TCS,


why we cant create array of refrences

4 Answers  


Categories