If the array is declared in a function, then the value is undefined. int x[10];
in a function means: take the ownership of 10-int-size area of memory without doing any initialization. If the array is declared as a global one or as static
in a function, then all elements are initialized to zero if they aren't initialized already.
与恶龙缠斗过久,自身亦成为恶龙;凝视深渊过久,深渊将回以凝视…