1. int * p; Represents the address of a variable of type int with p as the variable name;
such as: int i = 3; p = &i; &i represents the address of I
A. P holds the address of I
B. P is not i,i nor p, modifying the value of P does not affect I, and modifying the value of I does not affect p
C. If a pointer variable points to a normal variable, the * pointer variable is equal to the normal variable
2. The pointer is the address, the pointer variable is the variable that holds the address, equivalent to the pointer container
3. The role of the pointer:
To represent some complex data structures
Fast data transfer
Make the function return more than one value
Direct access to Hardware
The ability to handle strings conveniently
is to understand the basics in object-oriented languages
4. The pointer is the address; the pointer cannot be multiplication and can only be reduced
C Language Pointers