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
Why do we use templates?
Why is c++ awesome?
Explain rtti.
How do you clear a buffer in c++?
How does c++ sort work?
What is the advantage of c++ over c?
Can you be able to identify between straight- through and cross- over cable wiring? And in what case do you use straight- through and cross-over?
How many types of scopes are there in c++?
In inline " expression passed as argument are evalauated once " while in macro "in some cases expression passed as argument are evaluated more than once " --> i am not getting it plz help to make me understand....
Explain "const" reference arguments in function?
Can I uninstall microsoft c++ redistributable?
How do pointers work?
What are structures and unions?
What are the rules for naming an identifier?
What is problem with overriding functions?