int a[4]; //This allocates an array of 5 integers.
No it doesn't.
Anyway, I hated these assignments. At first glance I picked -1 as well but 17 is correct. I'm sure that computerquip was just pointing out that this was easy to test in a simple main function. If anything this exercise should be a good lesson as to why whitespace is important in a program. When things are mashed together your eyes play tricks on you. It is a little easier to see when the code is formatted better.