SyntaxFix
Write A Post
Hire A Developer
Questions
It allocates that much space according to the value of n and pointer will point to the array i.e the 1st element of array
int *array = new int[n];