Arrays
Arrays start at ZERO! (a mistake you will make often, trust me)
Arrays of int, float, etc. are pretty intuitive
int months[12];
float scores[30];
Strings are arrays of char (C’s treatment of strings is not so intuitive)
- see Wang, Appendix 12 for string handling functions
Multi-dimensional arrays:
int matrix[2][4]; (not matrix[2,4])