Lecture 6 - Slide 35 : 40
Selection between two functions

Compile time selection between two functions

Illustrated with an example from page 787 of The C++ Prog. Lang. (4. edition)

cond-5.cc
Selection one of two functions at compile time.

Can we do similar run time selection of functions in C++?

Are functions first class objects in C++?