How does memory management work in C++?
The question is about C++
Answer:
C++ uses manual memory management through new and delete operators, allowing developers fine-grained control but also introducing risks like memory leaks and dangling pointers.