Inheritance in C++

Inheritance in object-oriented programming is that a class or an object is based on another class or object. I.e. it is sharing same properties or characteristics from another class or object. It is the ability of a class to acquire the behavior from another class. Usually, a class inherits from

Read More

Classes in C++

What is a class in c++? In Programming, classes are user-defined data types having their own data members (variables) and member functions (functions/methods). These data members and member functions can be accessed by creating the instance(s) of the class called objects. Classes are the abstraction of objects declaring and defining characteristics

Read More

Conditional Statements in C++

A conditional statement or Conditional statements in C++ are used to make a decision based on specific condition and run the desired set of statements.Conditional Statements in C++ There are different types of conditional statements available in c++. They include: If statements, Switch cases, C++ ternary operator or sometimes we refer it

Read More