I'm trying to determine if this creates an array of pointers, with the array size being "size"? Is this correct?
int size = x;
int *ptr;
ptr = new int [size];
I'm trying to determine if this creates an array of pointers, with the array size being "size"? Is this correct?
int size = x;
int *ptr;
ptr = new int [size];
I think the answer is yes.
We're a friendly, industry-focused community of developers, IT pros, digital marketers, and technology enthusiasts meeting, networking, learning, and sharing knowledge.