
Pointers: Arithmetic, const and Levels
The address and indirection operators, declarators such as int *p, q, a memory snapshot of an array, a pointer and a pointer to pointer, pointer arithmetic scaled by the element size, pointer subtraction and comparison rules, one past the end, the *p++ family traced on an array, const placement with its compile errors, and null, wild and dangling pointers.
![int a[4] = {10, 20, 30, 40} at addresses 1000 to 1012; pointer p at 2000 holds 1004 and points to a[1]; pointer pp at 3000 holds 2000 and points to p.](https://bywjbbkinjqiyalvzqfd.supabase.co/storage/v1/object/public/sheet-media/PCC/PCC-13/diagrams/PCC-13.d01.webp)


