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 |
Differentiate between an inspector and a mutator ?
Comment on assignment operator in c++.
What is the purpose of the noexcept keyword?
Define a pointer to a data member of the type pointer to pointer?
Inline parameters : What does the compiler do with the parameters of inline function, that can be evaluated in runtime ?
What is conditions when using boolean operators?
why all c++ program must have default constructor?
If we declare two macro with the same identifier without doing undef the first, what will be the result? eg: #define MAX_SIZE 100 #define MAX_SIZE 200 int table1[MAX_SIZE];
What are the 3 levels of programming languages?
How new/delete differs from malloc()/free?
What is the two main roles of operating system?
What are the different operators in C++?