V
Virtual_X
- as we know that the pointer points to a memory cell
- and each memory cell has the minimal size that the computer manage
(1 byte)
- that code
int *p;
int x;
p= &x;
- that mean that p will point to x which have the size of int type
4bytes
- so the pointer point to 4 cells in the memory not one cell
- here the memory address saved in p is the address of the which cell
one or two or three of four
- and each memory cell has the minimal size that the computer manage
(1 byte)
- that code
int *p;
int x;
p= &x;
- that mean that p will point to x which have the size of int type
4bytes
- so the pointer point to 4 cells in the memory not one cell
- here the memory address saved in p is the address of the which cell
one or two or three of four