I am currently learning C++. There are only 2 ways i have come across to resolve ambiguity, one is by using scope resolution operator (::) and another by using 'virtual' keyword when I am dealing with multiple inheritance and hybrid inheritance.
My question is: Can ambiguity only occur in multiple inheritance and hybrid inheritance or can it also occur in any other form of inheritance? and in what other different ways can those ambiguities be resolved?