Answer Posted / glibwaresoftsolutions
• Smart pointers like std::unique_ptr, std::shared_ptr, and std::weak_ptr manage dynamic memory automatically, preventing memory leaks.
| Is This Answer Correct ? | 0 Yes | 0 No |
Post New Answer View All Answers
What is a stack? How it can be implemented?
What is data hiding c++?
Can constructor be private in c++?
How is c++ different from java?
What is meant by forward referencing and when should it be used?
Do the names of parameters have to agree in the prototype, definition, and call to the function?
What is called array?
Define pre-condition and post-condition to a member function in c++?
How many ways can a variable be initialized into in C++?
Write a Program for dynamically intialize a 2 dimentional array. Eg:5x20, accept strings and check for vowels and display the no.finally free the space allocated .
What problems might the following macro bring to the application?
Explain method of creating object in C++ ?
What is abstraction in c++ with example?
What is an associative container in c++?
What is the difference between an external iterator and an internal iterator?