Consider the declarations
Dim x As Double
Dim avg(1 To 10) As Double
What are the default values in x
and avg
?
Through testing, I want to say that x
is initialized to zero.
Likewise, I want to say that all elements in avg
were initialized to zero.
However, can I write code that depends on this? Or are the default initialization values actually indeterminate?