Skip to content
Courses
DSA to Development
Get IBM Certification
Newly Launched!
Master Django Framework
Become AWS Certified
For Working Professionals
Interview 101: DSA & System Design
Data Science Training Program
JAVA Backend Development (Live)
DevOps Engineering (LIVE)
Data Structures & Algorithms in Python
For Students
Placement Preparation Course
Data Science (Live)
Data Structure & Algorithm-Self Paced (C++/JAVA)
Master Competitive Programming (Live)
Full Stack Development with React & Node JS (Live)
Full Stack Development
Data Science Program
All Courses
Tutorials
Data Structures & Algorithms
ML & Data Science
Interview Corner
Programming Languages
Web Development
CS Subjects
DevOps And Linux
School Learning
Practice
Build your AI Agent
GfG 160
Problem of the Day
Practice Coding Problems
GfG SDE Sheet
Contests
Accenture Hackathon (Ending Soon!)
GfG Weekly [Rated Contest]
Job-A-Thon Hiring Challenge
All Contests and Events
DSA
Practice Problems
C
C++
Java
Python
JavaScript
Data Science
Machine Learning
Courses
Linux
DevOps
SQL
Web Development
System Design
Aptitude
GfG Premium
Sign In
▲
Similar Topics
C++
4.2k+ articles
STL
1.2k+ articles
CPP-Functions
600+ articles
CPP-Library
240+ articles
memory-management
62 articles
cpp-operator
59 articles
cpp-strings-library
45 articles
C-Dynamic Memory Allocation
34 articles
Dynamic Memory Allocation
31 articles
C++-new and delete
17 articles
cpp-memory-management
7 posts
Popular Articles
Recent Articles
std::function in C++
Last Updated: 22 October 2024
The std::function() in C++ is a function wrapper class which can store and call any function or a callable object. In this article, we will
...read more
CPP-Functions
cpp-advanced
C++
cpp-memory-management
std::make_shared in C++
Last Updated: 25 September 2024
In C++, std::make_shared() is a function that returns a shared pointer to the object of specific type after dynamically creating it. It offe
...read more
cpp-pointer
C++
Dynamic Memory Allocation
cpp-memory-management
C++ malloc()
Last Updated: 02 February 2023
The function malloc() in C++ is used to allocate the requested size of bytes and it returns a pointer to the first byte of allocated memory.
...read more
C++
Dynamic Memory Allocation
cpp-memory-management
Similar Topics
C++
4.2k+ articles
STL
1.2k+ articles
CPP-Functions
600+ articles
CPP-Library
240+ articles
memory-management
62+ articles
cpp-operator
59+ articles
cpp-strings-library
45+ articles
C-Dynamic Memory Allocation
34+ articles
Dynamic Memory Allocation
31+ articles
C++-new and delete
17+ articles
std::move in Utility in C++ | Move Semantics, Move Constructors and Move Assignment Operators
Last Updated: 02 May 2025
Prerequisites:lvalue referencervalue referenceCopy Semantics (Copy Constructor)References:In C++ there are two types of references-lvalue re
...read more
STL
cpp-constructor
C++
Blogathon
Blogathon-2021
cpp-memory-management
Memory leak in C++
Last Updated: 12 March 2025
In C++, memory leak is a situation where the memory allocated for a particular task remains allocated even after it is no longer needed. Thi
...read more
memory-management
C++
C-Dynamic Memory Allocation
cpp-memory-management
delete keyword in C++
Last Updated: 11 January 2025
delete is an operator that is used to destroy array and non-array(pointer) objects which are dynamically created by the new operator.delete
...read more
cpp-operator
C++
Dynamic Memory Allocation
C++-new and delete
Picked
cpp-memory-management
Memset in C++
Last Updated: 19 May 2025
C++ memset() is a function that copies a single character for a specified number of times to the given bytes of memory. It is useful for fil
...read more
CPP-Library
CPP-Functions
C++
cpp-strings-library
cpp-memory-management
1
1
1
We use cookies to ensure you have the best browsing experience on our website. By using our site, you acknowledge that you have read and understood our
Cookie Policy
&
Privacy Policy
Got It !