If I were to create an array with int* array = new int[10]; and fill part of the array with values, how can I check how much of the array is filled? I want to l
int* array = new int[10];
There is no default value so it's garbage.