Current location - Plastic Surgery and Aesthetics Network - Plastic surgery and beauty - Define the plastic pointer variable p q r, define the plastic variable A, and assign the value of A to 5… as shown in Figure 4 below?
Define the plastic pointer variable p q r, define the plastic variable A, and assign the value of A to 5… as shown in Figure 4 below?
1. First, clear the pointer. The pointer is an address variable, that is, p q r. The pointer points to the variable we need (which can be understood for the time being), that is, *p. Then * P is 5 and *q=*r =3.

2.4 3 is a simple numerical operation.

3. Because the storage of the array is also a pointer, the first address is assigned to p, and the contents of the array are still output at one time.

Pointer is a somewhat abstract concept, but it is not difficult to understand. Read more.