What are smart pointers?
Answers were Sorted based on User's Feedback
Answer / nashiinformaticssolutions
• 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 |
Answer / 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 |
• 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 |
What is near, far and huge pointers? How many bytes are occupied by them?
What is abstraction in c++ with example?
What is difference between initialization and assignment?
12 Answers HCL, HP, Infosys,
How do you traverse a btree in backward in-order?
What is the use of setfill in c++?
What is c++ & why it is used?
How does a C++ structure differ from a C++ class?
What is a template in c++?
How to construct muliton object
What is a flag in c++?
C is to C++ as 1 is to a) What the heck b) 2 c) 10
What is the limitation of cin while taking input for character array?