Namespaces and Object Slicing in C++
A namespace is designed to overcome the difficulty to differentiate similar functions, classes, variables etc. with the same name available in different libraries.Object slicing happens when a derived...