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
Do vectors start at 0?
What methods can be overridden in java?
What is the difference between set and map in c++?
Does c++ have a hash table?
How do I make turbo c++ full screen?
What is the first name of c++?
What do you mean by translation unit in c++?
What is the history of c++?
Suppose that data is an array of 1000 integers. Write a single function call that will sort the 100 elements data [222] through data [321].
Do you know what is overriding?
Explain operator overloading.
Describe delete operator?
What relational operators if statements in c++?
What's the order in which the local objects are destructed?
How many namespaces are there in c++?