HOW CAN WE ALLOCATE MEMORY IN C PLUS PLUS?

Ankit Singh

Total Post:341

Points:2389
Posted by  Ankit Singh
 841  View(s)
Ratings:
Rate this:
Hi Expert,

How can we allocate memory in C++?

Thanks in advance.
  1. AVADHESH PATEL

    Post:604

    Points:4228
    Re: How can we allocate memory in C Plus Plus?

    Hi Ankita,


    In C ++, you can allocate memory using malloc() and new keyword.


Answer

NEWSLETTER

Enter your email address here always to be updated. We promise not to spam!