0 0
6 views
Pure virtual function doesn’t have body or implementation. We must implement all pure virtual functions in derived class. Pure virtual function is also known as abstract function. ...

Please explain why do you think this question should be reported?

Report Cancel

0 0
8 views
By declaring a function member as static, you make it independent of any particular object of the class. Please follow and like us:...

Please explain why do you think this question should be reported?

Report Cancel

0 0
7 views
Function overloading is a programming concept that allows programmers to define two or more functions with the same name and in the same scope. Please follow and ...

Please explain why do you think this question should be reported?

Report Cancel

0 0
7 views
Operator overloading facilitates the specification of user-defined implementation for operations wherein one or both operands are of user-defined class or structure type. Please follow and like us:...

Please explain why do you think this question should be reported?

Report Cancel

0 0
6 views
A destructor(~) is a special method called automatically during the destruction of an object.The reason why you can’t overload a destructor is because your code wouldn’t have a clue about which destructor it needs to call when you destroy an ...

Please explain why do you think this question should be reported?

Report Cancel

0 0
6 views
A constructor is an instance method that usually has the same name as the class, and can be used to set the values of the members of an object, either to default or to user-defined values. ...

Please explain why do you think this question should be reported?

Report Cancel

0 0
6 views
When delete is used to deallocate memory for a C++ class object, the object’s destructor is called before the object’s memory is deallocated. Please follow and like ...

Please explain why do you think this question should be reported?

Report Cancel