Class Central is learner-supported. When you buy through links on our site, we may earn an affiliate commission.

YouTube

Function Pointers - How and When to Use Function Pointers

CodeBeauty via YouTube

Overview

Explore the concept of function pointers in C++ through this comprehensive tutorial video. Learn how to create and use function pointers, including those for functions with parameters. Discover the purpose and benefits of function pointers in optimizing code and enhancing reusability. Master the technique of passing functions as arguments to other functions using function pointers. Gain a clear understanding of function pointer syntax and practical applications in C++ programming.

Syllabus

- Intro to function pointers
- What are function pointers?
- How to create a function pointer?
- How to invoke a function using a function pointer?
- Pointer to a function with parameters
- Why and when to use function pointers?
- How to pass a function as a parameter/argument to another function?

Taught by

CodeBeauty

Reviews

Start your review of Function Pointers - How and When to Use Function Pointers

Never Stop Learning.

Get personalized course recommendations, track subjects and courses with reminders, and more.

Someone learning on their laptop while sitting on the floor.