Multiple inheritances in C++ language In this tutorial, we will discuss the OOP concept of multiple inheritances in C++ language. Inheritance is the process of inheriting data members and methods of one class by another class. When a class is derived from two or more base class, it is called multiple inheritance. Multiple inheritance is…
Category: Learn C++
Hybrid inheritance in C++ language
Hybrid inheritance in C++ language In this tutorial, we will discuss the OOP concept of Hybrid inheritance in C++ language Hybrid inheritance is a Oop concept of inheritance which one or more type of inheritance are combined together and use. it is a combination of Single level inheritance, Multilevel inheritance, and multiple inheritance Java not supported…
Hierarchical inheritance in C++ language
Hierarchical inheritance in C++ In this tutorial, we will discuss the OOP concept of Hierarchical inheritance in C++ language. Heirarchical inheritance is multiple classes inherited from a single class. There is one parent (super) class and many children(sub) classes. Hierarchical inheritance is supported in C++. In the example below, class B, class C and class…
Multi-level inheritance in C++ language
Multi-level inheritance in C++ language In this tutorial, we will discuss an Oop concept of the multi-level inheritance in C++ language. Already, we’ve looked at multilevel inheritance in inheritance in C++. Multilevel inheritance is a type of concept in C++ inheritance. A base class is inherited by an intermediate class and derived class is inherited…
Single Level inheritance in C++ language
Single Level inheritance in C++ language In this tutorial, we will discuss the OOP concept of single-level inheritance in C++ language. Single level inheritance is easy to understand as it is the most simple process compared to all other inheritances. It is when a class extends only to another class (Single child is derived from…
Inheritance in C++ programming language
Inheritance in C++ programming language In this tutorial, we will discuss the OOP concept of Inheritance in C++ programming language. Inheritance is one of the Oop concepts in object-oriented programs such as C++, java. It is where one object acquires all the properties of (data members and methods) it’s the parent or base class. It…
Cpp programming Pointer to pointer
Cpp programming Pointer to pointer In this tutorial, we will discuss the concept of Cpp programming Pointer to pointer Pointer is a special feature of C++. To understand pointer, you should know how data is saved in memory of the location. Normally, pointer is a special type of variable which stores the memory address of…
C programming language pointer to pointer
C programming language pointer to pointer In this tutorial, we will discuss the concept of the pointer to a pointer in C programming language. Normally, the pointer is a special type of variable which stores the memory address of another variable. Pointer to pointer means one of the pointers contain the address of another pointer….
Pointer and one dimensional array in C++
Pointer and one dimensional array in C++ In this tutorial, we will try to understand Pointer and one dimensional array in C++. First, we will look at array. What is the array? Array is a data type in many programming languages and array is one of structured data types. Array contains multiple elements. Elements are…
pointers with one dimensional array in C language
pointers with the one-dimensional array in C language In this article, we will discuss the pointers with the one-dimensional array in C language Pointer to a one-dimensional array Already, we have looked at pointer in C language in this blog. Now, we’ll look at array and pointer. There is a very strong relationship between these…