Question PRG-CPP-0037
EasyWhich C++ keyword allocates memory for an object on the heap?
- A.
new
- B.
alloc
- C.
Sign up free to see the answer and a step-by-step explanation.
Popular companies
Prepare company by company
Hiring pattern, syllabus, past questions and mocks for each company.
All companiesPractice by subject
C++ question
Which C++ keyword allocates memory for an object on the heap?
new
alloc
Sign up free to see the answer and a step-by-step explanation.
create
malloc