The main aim of the namespace is to understand the logical units of the program and to make the program so robust.
There are two types of macros. They are object-like and function-like.
Destructor is a special member function of a class, which is invoked automatically whenever an object goes out of the scope. It has the same name as its class with a tilde character prefixed.
As the name itself implies, it have to depend on other class only.
There are three types of constructor in C++. They are Default constructor, Parameterized constructor, Copy constructor.
Comments
There are no comments.Copyright ©CuriousTab. All rights reserved.