Disclaimer: This article is a blogger original article, shall not be reproduced without the bloggers allowed. https://blog.csdn.net/lexi3555/article/details/89395925
1 access, with one-dimensional arrays of pointers
Added: arr array name is a constant pointer variable name is marked with * pointer variable.
Description:
①arr array name indicates the address of the first element of the array, which is equivalent to arr & arr [0]
②arr array name symbol value may be used pointer variable *, * ARR as equivalent to arr [0], * (arr + 1)
Variable names can ③ptr pointer pointer constant [] symbol values, such as ptr [0] is equivalent to * ptr, ptr [1] is equivalent to * (ptr + 1) - recommended * (ptr + 1) in this form The value