Friend functions can access private and protected members of a class.
Answer Posted / 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 |
Post New Answer View All Answers
What are 2 ways of exporting a function from a dll?
What is data hiding c++?
What is singleton pattern in c++?
What is protected inheritance?
Define anonymous class.
How long will it take to learn programming?
Can I uninstall microsoft c++ redistributable?
What is class and structure in c++?
Describe the process of creation and destruction of a derived class object?
How does the copy constructor differ from the assignment operator (=)?
Define a conversion constructor?
What does #define mean in c++?
Are strings mutable in c++?
Write a program to find the Fibonacci series recursively.
What does 7/9*9 equal ? a) 1 b) 0.08642 c) 0