About Pointer

A.
Addressed to the variable unit, referred to visualize address "pointer".

If there is a special variable used to store the address of another variable (i.e. pointer), it is called "pointer variables."

Variable address pointer variable is used to store the address value of the pointer variable is the address (i.e. pointer).
two.

Defined pointer variable defined type name * pointer variable name
Such as: int * pointer-1;
left end int pointer variable is defined"Base type" must be specified, Base type pointer variable used to specifyThis type of indicator variables can point variables.
(Such as basic data types: int, char, float, etc.)

pointer-1 is the address of the stored
* Pointer-1 refers to the address pointer to a stored data

Published 10 original articles · won praise 4 · Views 135

Guess you like

Origin blog.csdn.net/weixin_45732699/article/details/104245730