If I create a class MyClass and it has some private member say MyOtherClass, is it better to make MyOtherClass a pointer or not? What does it mean also to have it as not a
This question could be deliberated endlessly, but the basics are:
If MyOtherClass is not a pointer:
If MyOtherClass is a pointer:
NULL, which could have meaning in your context and could save memory