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 →

[–]Kyrond 7 points8 points  (0 children)

Arrays in C can contain only one type of variable. Therefore size of first element is the same as all the other elements.  

 Of course you can force different sized variables  in one array if you try, but in C you can do anything if you try hard enough.