3 ms·
> What do you mean by assigning to a pointer? *x = y
by masklinn 6y ago
> What do you mean by assigning to a pointer?
*x = y
- kevincox 6y agoI don't think that does because IIUC you are copying the bits of y to x. So I guess semantically y has escaped but you aren't doing a new heap allocation, you are reusing the memory of x.