C Tutorials and Sample Problems

Arrays

Instructions for doing this tutorial:

  1. Read the Discussion, which includes examples.
  2. Read the Gotcha's — common errors when using arrays.
  3. Skim the Array Patterns.
  4. Review the Summary. Ask questions as needed.
  5. Do the first practice problem, as follows:
  6. Do the second practice problem similarly, as follows:
  7. Do the third practice problem similarly, as follows:

Other information

For your convenience, here are links to the above documents as Microsoft Word 2007 documents (instead of PDF documents):

This document is part of a set of C tutorials developed by:

David Mutchler (David dot Mutchler at Rose-Hulman.edu)
Department of Computer Science and Software Engineering
Rose-Hulman Institute of Technology