← Navis questions
Reported in a candidate post, Jul 2025

How free() knows how much memory to release; heap vs stack

Filed under Navis

Two systems-fundamentals questions: 1. Suppose a program allocates 50 blocks with calloc and 100 blocks with malloc. When free() is called on a pointer, how does the system know how much memory to…

You've read your 3 free write-ups

Sign up free to keep reading. Your account opens the first 10 questions of every company.

Related Navis questions

Collected from public candidate posts and coding forums. Updated Nov 2026.