MMadhura Anand路Jul 28, 2025From Call Stack to Heap: How Python Manages Execution and Data in MemoryWhen Python runs your code, it manages memory using two key areas: 馃 Stack v/s Heap? 馃敡 The Stack The call stack is a contiguous block of memory reserved by the operating system at program start. It grows and shrinks as functions are called and re...8 min read路madhura.hashnode.dev
RRafal Jackiewicz路Jul 16, 2025Mastering mallocMaster dynamic memory allocation in C. This complete guide explains malloc, calloc, realloc, and free from scratch, covering pointer arithmetic, common pitf9 min read路jackiewicz.hashnode.dev
AAjay Kumar Dey路Jan 9, 2025Linked Lists in CLearn about linked lists in C, including their structure, components, insertion, deletion, and traversal operations, and their advantages over arrays8 min read路ajaydey.hashnode.dev
AAjay Kumar Dey路Jan 5, 2025Dynamic Memory Allocation in C.Before jumping to Dynamic memory allocation we need to know about how the memory is used by a program in C. There are 4 memory segments :- Stack - it is a region of limited amount of memory that is temporary allocated to a program by the processor a...3 min read路ajaydey.hashnode.dev
RRai路May 30, 2024Mastering Memory Management in CA Crucial Skill for Secure Programming4 min read路code.flatmarstheory.com
JJyotiprakash Mishra路May 15, 2024DSA: Basics of Recursion, Pointers, and Dynamic AllocationRecursion in C Recursion in C is a technique where a function calls itself in order to solve a problem. Each time the function calls itself, a new stack frame is created for that call, containing its own set of local variables. This continues until a...21 min read路blog.jyotiprakash.org
AAryan K路Mar 11, 2024Dynamic Memory Allocation in C Using malloc()C is a very old language, with its existence dating back to 1970s. It has been the most influential language in the world with pretty much everything around us. Our Operating systems, routers and many other devices run using C. Despite being that inf...3 min read路spaciouscoder78.hashnode.dev
JJyotiprakash Mishra路Dec 28, 2023Bigger Example 3: Dynamic ArrayCreate a dynamic C array with initialization, access, modification, insertion/removal, auto-resizing, and efficient memory management6 min read路blog.jyotiprakash.org
JJyotiprakash Mishra路Dec 27, 2023Basic Dynamic Memory Allocation Programming QuestionsHere are 10 C programming exercises that involve dynamic memory allocation: Dynamic Array: Create a program that dynamically allocates memory for an array of integers. Allow the user to input the size of the array and elements, and then print the ar...15 min read路blog.jyotiprakash.org
JJyotiprakash Mishra路Dec 24, 2023Build your arrays differently too!In C, there are different ways to initialize arrays, both for single-dimensional and multi-dimensional arrays. Let's go through examples for both: Single-dimensional arrays: Method 1: Initializing at declaration: #include <stdio.h> int main() { ...5 min read路blog.jyotiprakash.org