1. Assignment problem for pointer variables.
There are always lazy lads, so assign a value
int *pointer = 3;/This is the variable assigned to Pointer, the variable it refers to is not fixed when the Pointer is created, and may be an important system variable .
This assignment does not give an error when compiling, but in fact there is a mistake. The address of the variable is the pointer to the variable, the pointer variable is the value stored by the variable is the address, assigning a pointer variable to the value of the time, first to give it a specified address,
int i = 3;
int *pointer;/At this time its value is not predictable, it may point to a storage unit that stores important data to assign values,
Pointer = &i;
printf ("%d", *pointer);
The value of this output is the value of the variable i.
Some questions about the pointer of C language