B
Bill Cunningham
I want to take a value stored in an int use a pointer to move it to
another int variable using a int **. Would this be the right or a usable
technique? I know how of course to use a pointer to an int to move a value
to an empty int and have sharing memory with pointers done but I want to use
a int **. And move the value /from/ one int to another.
int main(){
int a,b;
a=32;
int *pi;
pi=&a;
b=*pi;
}
The above is simple but I've never used pointers to pointers.
Bill
another int variable using a int **. Would this be the right or a usable
technique? I know how of course to use a pointer to an int to move a value
to an empty int and have sharing memory with pointers done but I want to use
a int **. And move the value /from/ one int to another.
int main(){
int a,b;
a=32;
int *pi;
pi=&a;
b=*pi;
}
The above is simple but I've never used pointers to pointers.
Bill