in the video,the instructor says that the pointer array be reassigned or overwritten,but he gives an example of
a=new char[30];
whereas he used a as an integer array…is this a mistake or is it possible to reassign like
int *a=new int[100] to a=new char[30]