how to save poiner in C
- by JosiP
Hi
In my app, for debugging i want to save pointer, before i do other operations on it eg:
void foo(...)
{
/* suppose ptr1 points to one of my strcuts */
ptr1 = NULL;
/* before that ptr1=NULL i want to save value of that pointer - how to do it ? */
}
thx for any help