Why does pointers to the base class when we can just does the derived class? | Sololearn: Learn to code for FREE!
New course! Every coder should learn Generative AI!
Try a free lesson
0

Why does pointers to the base class when we can just does the derived class?

Introducing pointers really confuses me when going through this lesson.

17th Mar 2020, 7:25 PM
Donovan Thompson
Donovan Thompson - avatar
1 Answer
0
I think you tagged C by mistake, C doesn't have OOP support. You probably meant to tag C++ 😁
17th Mar 2020, 9:29 PM
Ipang