---
title: "#dynamic-memory-allocation articles | Hashnode"
description: "Explore 27 articles tagged #dynamic-memory-allocation on Hashnode. Tutorials, guides, and how-tos from the community."
url: "https://hashnode.com/tag/dynamic-memory-allocation"
---

Tag

# #dynamic-memory-allocation

27 posts · 0 followers

[Madhura Anand](https://hashnode.com/@madhura-anand) · [Jul 28, 2025](https://hashnode.com/posts/from-call-stack-to-heap-how-python-manages-execution-and-data-in-memory/688940ef40c1c5a8deda297d)

### [From Call Stack to Heap: How Python Manages Execution and Data in Memory](https://madhura.hashnode.dev/from-call-stack-to-heap-how-python-manages-execution-and-data-in-memory?utm_source=hashnode&utm_medium=feed)

When 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](https://madhura.hashnode.dev/from-call-stack-to-heap-how-python-manages-execution-and-data-in-memory?utm_source=hashnode&utm_medium=feed)

[Rafal Jackiewicz](https://hashnode.com/@cocofrut) · [Jul 16, 2025](https://hashnode.com/posts/mastering-malloc/68778f4e8d2798006e67555e)

### [Mastering malloc](https://jackiewicz.hashnode.dev/mastering-malloc?utm_source=hashnode&utm_medium=feed)

Master dynamic memory allocation in C. This complete guide explains malloc, calloc, realloc, and free from scratch, covering pointer arithmetic, common pitf

9 min read · [jackiewicz.hashnode.dev](https://jackiewicz.hashnode.dev/mastering-malloc?utm_source=hashnode&utm_medium=feed)

[Ajay Kumar Dey](https://hashnode.com/@ajaydey) · [Jan 9, 2025](https://hashnode.com/posts/linked-lists-in-c/677f4f9cf008c991b3e3e40e)

### [Linked Lists in C](https://ajaydey.hashnode.dev/linked-lists-in-c?utm_source=hashnode&utm_medium=feed)

Learn about linked lists in C, including their structure, components, insertion, deletion, and traversal operations, and their advantages over arrays

8 min read · [ajaydey.hashnode.dev](https://ajaydey.hashnode.dev/linked-lists-in-c?utm_source=hashnode&utm_medium=feed)

[Ajay Kumar Dey](https://hashnode.com/@ajaydey) · [Jan 5, 2025](https://hashnode.com/posts/dynamic-memory-allocation-in-c/677ac45252d949956ad4bf46)

### [Dynamic Memory Allocation in C.](https://ajaydey.hashnode.dev/dynamic-memory-allocation-in-c?utm_source=hashnode&utm_medium=feed)

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](https://ajaydey.hashnode.dev/dynamic-memory-allocation-in-c?utm_source=hashnode&utm_medium=feed)

[Rai](https://hashnode.com/@flatmarstheory) · [May 30, 2024](https://hashnode.com/posts/mastering-memory-management-in-c/6658eb4f9e0c7533f28efc7f)

### [Mastering Memory Management in C](https://code.flatmarstheory.com/mastering-memory-management-in-c?utm_source=hashnode&utm_medium=feed)

A Crucial Skill for Secure Programming

4 min read · [code.flatmarstheory.com](https://code.flatmarstheory.com/mastering-memory-management-in-c?utm_source=hashnode&utm_medium=feed)

[Jyotiprakash Mishra](https://hashnode.com/@jpmishra) · [May 15, 2024](https://hashnode.com/posts/dsa-basics-of-recursion-pointers-and-dynamic-allocation/6644a9f6f6551bf0706d2802)

### [DSA: Basics of Recursion, Pointers, and Dynamic Allocation](https://blog.jyotiprakash.org/dsa-basics-of-recursion-pointers-and-dynamic-allocation?utm_source=hashnode&utm_medium=feed)

Recursion 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](https://blog.jyotiprakash.org/dsa-basics-of-recursion-pointers-and-dynamic-allocation?utm_source=hashnode&utm_medium=feed)

[Aryan K](https://hashnode.com/@spaciouscoder78) · [Mar 11, 2024](https://hashnode.com/posts/dynamic-memory-allocation-in-c-using-malloc/65ef020aa40153d8b2b0f5bd)

### [Dynamic Memory Allocation in C Using malloc()](https://spaciouscoder78.hashnode.dev/dynamic-memory-allocation-in-c-using-malloc?utm_source=hashnode&utm_medium=feed)

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](https://spaciouscoder78.hashnode.dev/dynamic-memory-allocation-in-c-using-malloc?utm_source=hashnode&utm_medium=feed)

[Jyotiprakash Mishra](https://hashnode.com/@jpmishra) · [Dec 28, 2023](https://hashnode.com/posts/bigger-example-3-dynamic-array/658d0262cbf4c146706f8545)

### [Bigger Example 3: Dynamic Array](https://blog.jyotiprakash.org/bigger-example-3-dynamic-array?utm_source=hashnode&utm_medium=feed)

Create a dynamic C array with initialization, access, modification, insertion/removal, auto-resizing, and efficient memory management

6 min read · [blog.jyotiprakash.org](https://blog.jyotiprakash.org/bigger-example-3-dynamic-array?utm_source=hashnode&utm_medium=feed)

[Jyotiprakash Mishra](https://hashnode.com/@jpmishra) · [Dec 27, 2023](https://hashnode.com/posts/basic-dynamic-memory-allocation-programming-questions/658bb2f47420d97333330c2e)

### [Basic Dynamic Memory Allocation Programming Questions](https://blog.jyotiprakash.org/basic-dynamic-memory-allocation-programming-questions?utm_source=hashnode&utm_medium=feed)

Here 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](https://blog.jyotiprakash.org/basic-dynamic-memory-allocation-programming-questions?utm_source=hashnode&utm_medium=feed)

[Jyotiprakash Mishra](https://hashnode.com/@jpmishra) · [Dec 24, 2023](https://hashnode.com/posts/build-your-arrays-differently-too/6588a4c118374446a986b91f)

### [Build your arrays differently too!](https://blog.jyotiprakash.org/build-your-arrays-differently-too?utm_source=hashnode&utm_medium=feed)

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](https://blog.jyotiprakash.org/build-your-arrays-differently-too?utm_source=hashnode&utm_medium=feed)
