Friend Concept and ‘mutable’ Keyword in C++
Friend:- By using a friend concept we can access a private member of a class. There are multiple types of
Read moreFriend:- By using a friend concept we can access a private member of a class. There are multiple types of
Read moreComposition:- A Composition is similar as an inheritance. A Composition means writing an object of some another class inside some
Read moreThis is a full file I/O solution where user enters some information on the terminal and this user input is
Read moreLocal Class:- • If a class is defined inside any function then that class is called as local class.
Read moreConstructors:- Constructor is a user defined function whose name is same as the class name. Constructor is called as a
Read moreFunction Overloading:- Function overloading is compile time polymorphism. Appropriate function call is resolved at compile time only. This means
Read moreConstant concepts C++:- Constant is a data type qualifier which provide extra quality to our normal variable and that quality
Read moreClass:- Class is a collection of a characteristics and a behaviors. Characteristics means data members defined in the class and
Read moreIf we want to provide only interface for the derived class then we use the concept of abstract base class.
Read moreThis concept is used in C++. When we create a variable of any data type, we use single identifier to
Read more