Double Pointer

MMS 05 61 Reputation points
2020-10-08T10:25:13.697+00:00

So , The Double pointer Works Like We Create an Variable pShape in Stack and It Moves to Heap Through Struct IDrawable and as it is an Double Pointer, There's an reference to it in Stack Memory so It Moves to the Address of pShapre and Again Moves to Heap Through IDrawable

C++
C++
A high-level, general-purpose programming language, created as an extension of the C programming language, that has object-oriented, generic, and functional features in addition to facilities for low-level memory manipulation.
3,761 questions
{count} votes

Your answer

Answers can be marked as Accepted Answers by the question author, which helps users to know the answer solved the author's problem.