diff --git a/lectures/04_pointers/README.md b/lectures/04_pointers/README.md index 8aeea9c..25bdda6 100644 --- a/lectures/04_pointers/README.md +++ b/lectures/04_pointers/README.md @@ -148,13 +148,16 @@ shrink dynamically in response to the demands of the application. ## 4.8 Stepping through Arrays with Pointers (Array Iterators) -- The array code above that uses [] subscripting, can be equivalently rewritten to use pointers: +- The array code above that uses [] subscripting, can be equivalently rewritten to use pointers. We can re-write it in two ways: + +### 4.8.1 First Approach + ```cpp const int n = 10; double a[n]; double *p; for ( p=a; p