Dynamic memory allocation means memory allocated at the time of program running. if u declare area memory will be allocates so here lenth of area is not delared so at the time of running we can enter any number of elements in to arry. so if u delete the aray variable a[] the location for variable get emptyed so array also get deleted
Yooo