How is memory managed in C++?
Answers were Sorted based on User's Feedback
Answer / nashiinformaticssolutions
Because C++ enables dynamic memory, the user must manually manage memory instead of relying on a garbage collector function to do it. The "new" and "delete" operators are used to dynamically allocate and deallocate memory, respectively.
| Is This Answer Correct ? | 0 Yes | 0 No |
Answer / nashiinformaticssolutions
C++ uses manual memory management with new and delete and also provides smart pointers like std::unique_ptr and std::shared_ptr.
| Is This Answer Correct ? | 0 Yes | 0 No |
What do you mean by inheritance in c++?
What is polymorphism and its type in c++?
Write the program form Armstrong no in c++?
Write a corrected statement in c++ so that the statement will work properly. if (4 < x < 11) y=2*x;
Which algorithm do you like the most? Why?
What are the extraction and insertion operators in c++? Explain with examples.
What is design pattern?
What is the limitation of cin while taking input for character array?
Can c++ do everything c can?
Does improper inheritance have a potential to wreck a project?
Where do I find the current c or c++ standard documents?
What is an Object/Instance?