Lab 05 - Arrays

Slides:

Lab 5 Slides

Pointers

Two interpretations of Pointer Variables

  1. Treat long * as a new data type

  2. Treat *a as a whole and this means if you deference a , you will get a long.

Arrays

  1. The use of word "anchored", an array is "anchored" to the memory address of its 1st element.

Selected Problems from Exercise 3

  1. Counting sort, which will use the frequency table.

Last updated