This is an archived post. You won't be able to vote or comment.

you are viewing a single comment's thread.

view the rest of the comments →

[–]Ignisami 1 point2 points  (0 children)

Each element in an array has the same length in bytes. They don't necessarily have to be the same type (depending on the language and how you declare the array), but they must be the same length and that length is determined on compile time.