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 is the meaning of string in c++?
What is operator overloading in c++ example?
How the endl and setw manipulator works?
What function initalizes variables in a class: a) Destructor b) Constitutor c) Constructor
Is it possible to use a new for the reallocation of pointers ?
given unsigned int ui1=3,ui2=7; what are the outputs of a)ui1 & ui2 b)ui1 && ui2 c)ui1 | ui2 d)ui1 || ui2 i also need the justification for the answers thank you
Give the difference between the type casting and automatic type conversion. Also tell a suitable C++ code to illustrate both.
What is an orthogonal base class in c++?
What are c++ redistributables?
What are the two types of comments?
What are the storage qualifiers?
Explain the problem with overriding functions