Call a function via an Instance Name

A function declared in a class can be called via a reference to an instance of that class using dot notation. Such locally declared functions are sometimes called member functions. An example of such a call is foo.func(33.5) below. Regarding the lookup rules to find the definition of such a function.