allocating memory with the keyword new causes the array element to carrry default values true or false code example
Example: c++ delete dynamically allocated array
int length = 69;
int * numbers = new int[length];
delete[] numbers;
int length = 69;
int * numbers = new int[length];
delete[] numbers;