Richard Reese

Function Pointers in C

Date: This event took place live on May 22 2014

Presented by: Richard Reese

Duration: Approximately 60 minutes.

Cost: Free

Questions? Please send email to

Description:

Function pointers can be thought of as a way of passing around the address of a set of instructions embodied in a function. This technique provides an interesting and flexible way to control a program's behavior. Pointers are at the heart of C. Understanding how to use function pointers is a key C programming skill.

The basics of function pointers will be introduced followed by examples of their use and common issues that arise from their use. Topics covered in the webcast include:

  • Using function pointers as parameters and return values
  • Using arrays of function pointers
  • Controlling program's flow of control through function pointers
  • Specifying callback functions using function pointers
  • Common problems using function pointers

About Richard Reese

Richard Reese enjoys learning new technology and applying it whenever he can. At the same time he likes to stay rooted in core technologies such as C. He worked in industry for over 17 years, primarily in Aerospace. He is currently an Associate Professor at Tarleton State University in Stephenville Texas and is the author of four books including O'Reilly's Understanding and Using C Pointers.