made up a little example on pointer-to-functions