// Delete is like 'free' in C.
// If you have a dynamic variable, you need to free its memory (delete it) using the delete keyword.
int arr = new int[7];
delete arr[];
delete[] arr // calls destructors for each element in array
// before calling array deallocating function