Answer Posted / 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 |
Post New Answer View All Answers
write a corrected statement in c++ so that the statement will work properly. x = y = z + 3a;
Does c++ vector allocate memory?
What is the need of a destructor? Explain with the help of an example.
When does the c++ compiler create temporary variables?
What is size of string in c++?
Write a struct time where integer m, h, s are its members?
What will happen if a pointer is deleted twice?
How to declare an array of pointers to integer?
What is the use of lambda in c++?
Show the application of a dynamic array with the help of an example.
What is a stack? How it can be implemented?
What is array in c++ example?
What is the auto keyword good for in c++?
What are the main features of c++?
What is function declaration in c++ with example?