class Child { public: void Count() { } };
Child * obj = new Child; obj->Count();
Child obj = new Child; obj.Count();
Child * obj = new Child; obj.Count();
Child * obj = new Child; (*obj).Count();
Child obj = new Child; (*obj).Count();
Login in to like
Login in to comment
or Read more about C++ Quizzes
Login in to like
Login in to comment