Add examples of casting function pointers.
Add first example with dynamic_cast<T>().