Courses
Tutorials
Interview Prep
DSA
Practice Problems
C
C++
Java
Python
JavaScript
Data Science
Machine Learning
Courses
Linux
DevOps
Similar Topics
Web Technologies
32.1K+ articles
DSA
20.4K+ articles
Python
19.6K+ articles
Experiences
15.8K+ articles
C Language
1.3K+ articles
C-Library
133+ articles
C-Functions
90+ articles
C Basics
78+ articles
C-Dynamic Memory Allocation
26+ articles
Dynamic Memory Allocation
23+ articles
c-memory-management
5 posts
Recent Articles
Popular Articles
Deleting Memory in C
Last Updated: 23 July 2025
In C programming, we might allocate memory dynamically for various tasks but what happens when those pieces of memory are no longer needed? If not managed properly, they c...
read more
C Language
Picked
C-Dynamic Memory Allocation
c-memory-management
free() Function in C Library With Examples
Last Updated: 29 May 2023
The free() function in C is used to free or deallocate the dynamically allocated memory and helps in reducing memory wastage. The C free() function cannot be used to free ...
read more
C Language
C-Dynamic Memory Allocation
c-memory-management
Dynamic Memory Allocation in C
Last Updated: 09 April 2026
Dynamic memory allocation allows a programmer to allocate, resize, and free memory at runtime. Key advantages include.Memory is allocated on the heap area instead of stack...
read more
C Language
C Basics
C-Dynamic Memory Allocation
Dynamic Memory Allocation
c-memory-management
memset() in C with examples
Last Updated: 23 July 2025
memset() is used to fill a block of memory with a particular value. The syntax of memset() function is as follows : // ptr == Starting address of memory to be filled// x ...
read more
C Language
C-Functions
C-Library
c-memory-management
Use of realloc()
Last Updated: 28 May 2017
Size of dynamically allocated memory can be changed by using realloc(). As per the C99 standard: C void *realloc(void *ptr, size_t size); realloc deallocat...
read more
C Language
C-Dynamic Memory Allocation
c-memory-management