Reassigning pointer array

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]

Hey @kani001
This is invalid and we can’t do this
He must have said this by mistake :slight_smile: