It's just a dynamically sized array (implementation-dependent, but most commonly on the stack). It's pretty much like alloca
in the old days, with the exception that sizeof
will return the actual size of the array, which implies that the size of the array must also be stored somewhere (implementation-dependent as well, but probably on the stack too).
与恶龙缠斗过久,自身亦成为恶龙;凝视深渊过久,深渊将回以凝视…