Question discussion

Allowing a class in C++ to inherit from two or more base classes can lead to which well-known ambiguity problem?

166Medium DSSSB TGT Computer Science 0 replies 2 views
0
Allowing a class in C++ to inherit from two or more base classes can lead to which well-known ambiguity problem?
  • ASlicing problem
  • BDiamond problem
  • CDangling pointer problem
  • DFragile base class problem
Correct answer: B

Discussion 0

Nobody has replied yet. Start the discussion!