From 4f22b4ec7c04c3d4452e2f9907e80fdf5744ce48 Mon Sep 17 00:00:00 2001 From: Jidong Xiao Date: Tue, 23 Jan 2024 13:40:17 -0500 Subject: [PATCH] not the right lab --- lectures/05_pointers/README.md | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/lectures/05_pointers/README.md b/lectures/05_pointers/README.md index 3c7d4b9..de3b8a6 100644 --- a/lectures/05_pointers/README.md +++ b/lectures/05_pointers/README.md @@ -184,7 +184,7 @@ square root of this value is assigned to \*p. ### 5.8.2 Second Approach -The first approach uses pointer arithmetic in several places - just to demonstrate the usage of pointer arithmetic; but many students find it confusing and hard to understand. In contrast, the following approach is easier to understand, and **is the recommended way for you to use in tomorrow's lab**; use the first approach only if you truly understand all the pointer arithmetics involved in that approach. +The first approach uses pointer arithmetic in several places - just to demonstrate the usage of pointer arithmetic; but many students find it confusing and hard to understand. In contrast, the following approach is easier to understand. ```cpp const int n = 10;