3 ms·
Would it be acceptable to save the old address as a uintptr_t before the realloc(), and compare it with the new one after?
by teo_zero 2y ago
Would it be acceptable to save the old address as a uintptr_t before the realloc(), and compare it with the new one after?
- saagarjha 2y agoYou could do it legally, but the results are not required to be what you want them to be.