Current location - Plastic Surgery and Aesthetics Network - Plastic surgery and beauty - In c language. Whether the return value of the pointer subroutine is the address or the memory content in the address. .
In c language. Whether the return value of the pointer subroutine is the address or the memory content in the address. .
First, let's look at the meaning of the sentence int *a(int *b):

A function with the return value type of integer pointer (int*) is defined, and the function name is A. This function needs to pass a parameter b, and the type of this parameter is also integer pointer (int*).

So where this function is called, an integer pointer should be passed in.

Three points of pointer are emphasized here: ① pointer is a special variable; (2) The value stored in the variable pointer is the memory address; ③ This type of number starts with the value of pointer variable as the memory address and is stored in several bytes.