======================== Pointer Types and Arrays ======================== Referencing and dereferencing ============================= Examine the following example and predict its output. Also visualize on a memory band what gets done after each initialization or assignment: :import: session03/vars.c Arrays ====== Complete the following code snippet such that: - function `init` initializes an array of length $n$ with values $1, \dots, n$. - function `sum` returns the sume of the elements. Use the `*` and bracket notation for accessing elements. :import: session03/array_assign.c :navigate: up -> doc:index back -> doc:session03/page03 next -> doc:session03/page05