problem arises sometimes while dealing with multiple inheritance
for e.g
sometimes when a derived class which is inherited from multiple base classes which have a method
with same name and return type but derived has no such method of its own
in this case when we try to call that function/method using derived class object it causes ambiguity
because it confuses the compiler between the method definitions and choosing which one to call
in that case we use a scope resoluion operator along with class name and method to be called
its shown in the following code
#include <iostream>