@5:15 it is said that int *ptr=new int[1000];
here new array will be created and it will return the address
of the the arrray which will store in ptr as it is pointer
than when we have to create arrays of pointer
than it should be
int * ptr=new int*[1000];
isnt it??as it will create a new array which stores pointer and it will return the address than it will be stored in * ptr?
but syntax is
int *ptr=new int[1000];
why is it pointer to pointer??? in this case??