c++ - What is the difference between Dynamic Array and Dynamically allocated array? -


according wikipedia page on dynamic array, they're not same thing. wiki page. how memory allocation in both array work, need keep in mind while using either of them , 1 prefer. p.s. : i'm new programming

a dynamic array similar array it's size dynamic , grab more memory when full , add new element it. can created on stack or on heap.

a dynamically allocated array array created on heap.


Comments

Popular posts from this blog

Is there a better way to structure post methods in Class Based Views -

Python Tornado package error when running server -

Qt QGraphicsScene is not accessable from QGraphicsView (on Qt 5.6.1) -