Current location - Plastic Surgery and Aesthetics Network - Plastic surgery and beauty - Pointer assignment in c language.
Pointer assignment in c language.
1.n is an integer variable, p is a pointer to the integer variable and q is a pointer to the pointer. That is, n stores integers, p stores the addresses of integers, and q stores the addresses of pointers. * The function in the operation is the variable indicated by the pointer. So choose d

2 . n 1 = 0;

P points to n2, that is, the value of n2 can be obtained by *p;

Similarly, the value of n 1 can be obtained by * q.

So the equivalent is: option a.