Friend functions can access private and protected members of a class.
Answer / nashiinformaticssolutions
Virtual destructors ensure proper cleanup of resources in derived classes when deleting through a base class pointer.
Is This Answer Correct ? | 0 Yes | 0 No |
What does namespace mean in c++?
What is the benefit of encapsulation?
Explain linear search.
Should I learn c++ c?
When should you use global variables?
what is difference between internet and Internet?
12 Answers College School Exams Tests, Microsoft, MIT, TCS,
What are put and get pointers?
What is encapsulation in c++ with example?
How does work in c++?
Is oops and c++ same?
What is namespace & why it is used in c++?
What function initalizes variables in a class: a) Destructor b) Constitutor c) Constructor