Pointer to a function

This lesson explains how a pointer to a function works using an example

A pointer contains a reference. It may also point to a function.

Syntax

The syntax for declaring a function pointer is as follows​:

Create a free account to access the full course.

By signing up, you agree to Educative's Terms of Service and Privacy Policy