Explain the Concept of Function Pointer with example? | SoloLearn: Learn to code for FREE!

+16

Explain the Concept of Function Pointer with example?

In this Case what is the type of Pointer which can point to a Function?

11/18/2019 11:28:37 AM

ROHIT KANOJIYA🇮🇳

2 Answers

New Answer

+11

A function pointer, also called a subroutine pointer or procedure pointer, is a pointer that points to a function. As opposed to referencing a data value, a function pointer points to executable code within memory.

+5

I have cooked up a little example with explanations. https://code.sololearn.com/czshfBy1X2E4/?ref=app