if an array has only been declared will it contain garbage values or zeros?
also
when we are iterating over an array to fill the elements of the array if we fill only fill half the array will rest of the elements automatically be assigned to zero or will they contain garbage value?