DSA Studio
Search
Home
Sign in
Block Reuse Quiz
Test understanding of block reuse
1. After malloc(100) -> free -> malloc(50), what should happen?
The freed block should be reused
A new block must be allocated
The old data should be preserved
The heap should shrink
Submit quiz
Auto-advance on pass