Question 66
What happens if 'free(ptr)' is called twice on the same dynamically allocated pointer without reinitialization?
Detailed Solution
Freeing an already freed memory address causes double-free undefined behavior or heap corruption.
✓ Saved