Answer the question
In order to leave comments, you need to log in
C++: difference between an array of dynamic variables and a dynamic one-dimensional array?
int* dyn_int_arr[size];
int* dyn_arr = new int[size];
What are the differences between these two entries? As I understand it, in the first case, a static array of pointers, and in the second case, a dynamic array of integers, right?
Answer the question
In order to leave comments, you need to log in
Didn't find what you were looking for?
Ask your questionAsk a Question
731 491 924 answers to any question