Examveda

What happens if you attempt to free the same block of memory twice in C?

A. It leads to undefined behavior

B. The program terminates

C. Memory is released, but the pointer remains valid

D. Memory is leaked

Answer: Option A


This Question Belongs to C Program >> Memory Allocation

Join The Discussion

Related Questions on Memory Allocation