hello,
i have a simple question: how can i make 2 variables to have the same address. For example, if i write:
int a = 10;
int &b = a;
everything goes ok
"a" and "b" have the same value and the same address
but what ai need is:
int a = 10;
int b = 3;
...do some modification...
and then i want to make "b" to have the same address and the same value as "a"...
any idea?...pls