---
title: "How can we allocate memory in C Plus Plus?"  
description: "How can we allocate memory in C Plus Plus?"  
author: "Anonymous User"  
published: 2013-06-13  
updated: 2013-06-14  
canonical: https://www.mindstick.com/forum/1075/how-can-we-allocate-memory-in-c-plus-plus  
category: "visual c++"  
tags: ["visual c++"]  
reading_time: 1 minute  

---

# How can we allocate memory in C Plus Plus?

Hi [Expert](https://www.mindstick.com/articles/13120/an-expert-financial-advice-will-improve-your-finances),\
How can we allocate [memory](https://www.mindstick.com/blog/300050/what-causes-sudden-memory-loss) in [C++](https://www.mindstick.com/blog/745/array-in-c-plus-plus)?\
Thanks in advance.

## Replies

### Reply by AVADHESH PATEL

Hi Ankita,\
In C ++, you can allocate memory using **malloc()** and **new** keyword.\
\


---

Original Source: https://www.mindstick.com/forum/1075/how-can-we-allocate-memory-in-c-plus-plus

Copyright © MindStick Software Pvt. Ltd. This Markdown version is provided for developers, AI systems, and offline reading.
