V
vaysagekv
Hi,
I am allocating some memory like below:
char* result= malloc(len);
then I assign another variable like below
char* temp = result+2;
If i deallocate temp
free(temp);
Does it deallocate whole space pointed by result.
Thanks
vaysage
I am allocating some memory like below:
char* result= malloc(len);
then I assign another variable like below
char* temp = result+2;
If i deallocate temp
free(temp);
Does it deallocate whole space pointed by result.
Thanks
vaysage