Current location - Plastic Surgery and Aesthetics Network - Plastic surgery and medical aesthetics - [Urgent] Is the address in a pointer variable written in binary notation?
[Urgent] Is the address in a pointer variable written in binary notation?

No.

It seems that you are not familiar with the address.

Let’s put it this way,

You wrote it on a piece of paper Draw 100 squares,

the squares are numbered from 0

--

99,

then this 0

--

99 is the address number.

You can write whatever you want in the square. But if there is another square in The number of the cell,

This is called a pointer!

int

When *a, a also has an address, which is allocated by the program,

< p>For example, the address of a&a

is square 80,

but square 80 contains the number of another square,

If it is 50,

then *a

is the content in box No. 50.

This thing is really difficult to explain! Think about it yourself Well,

It will be easy to learn pointers once you have thought through it