Lecture 1 - Slide 23 : 34
Function types

Functions in C can be used as data of function type

func-1.c
C program with function pointer.
func-2.c
Same program - without explicit use of the address and dereferencing operators.
func-3.c
Same program - using a typedef to capture the function type.
Go to exercise
An array of functions

C++ supports lambda expressions (closures)

C++ also supports function objects (by overload of operator() such that an object my be used as a function