> For the complete documentation index, see [llms.txt](https://wenbo-notes.gitbook.io/cs1010-notes/llms.txt). Markdown versions of documentation pages are available by appending `.md` to page URLs; this page is available as [Markdown](https://wenbo-notes.gitbook.io/cs1010-notes/lec-tut-lab-exes/lab/lab-05-arrays.md).

# Lab 05 - Arrays

Slides:

{% file src="/files/VUA9IZXabEro7Kxnnt00" %}
Lab 5 Slides
{% endfile %}

## 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.
