+ 1
What does this statement do::p = new int[20];
4 Answers
+ 5
Here is a link lmao.
https://www.sololearn.com/Course/Cplusplus/?ref=app
+ 2
Read the course, the part about pointers, it explains it very well.
+ 1
int * p = new int[20]; allocate on success a contiguous space of 20 integers
0
I asked this question after going through the pointers part of the course C++ Tutorials