From be63fb4c3cf8062dce22b5023c707aeac4219013 Mon Sep 17 00:00:00 2001 From: aniltirli <35190700+aniltirli@users.noreply.github.com> Date: Fri, 14 Dec 2018 06:40:48 +0300 Subject: [PATCH] line 277, 278, 282 comments enhanced (#24776) --- guide/english/c/pointers/index.md | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/guide/english/c/pointers/index.md b/guide/english/c/pointers/index.md index d95c0a3f6f..bf9c7db151 100644 --- a/guide/english/c/pointers/index.md +++ b/guide/english/c/pointers/index.md @@ -322,11 +322,11 @@ Most of the time, pointer and array accesses can be treated as acting the same, ```c int a[10]; int *p; - p = a; /*legal*/ - a = p; /*illegal*/ + p = a; /*legal, pointer p, points the starting memory address of array a that is a[0]*/ + a = p; /*illegal, a is not an individual variable*/ ``` 5) Arithmetic on pointer variable is allowed. ```c - p++; /*Legal*/ + p++; /*Legal, p points the next memory address*/ a++; /*illegal*/ ```