Re: working with pointers



Michael wrote:
> a=2
> b=a
> b=0


That's more or less equivalent to this C++ code:

int *a;
int *b;
a = new int;
*a = 2;
b = a;
b = new int;
*b = 0;
.