Pages

Friday 22 October 2021

Primitive vs non-primitive data structure

Data structure means organizing the data in the memory. The data can be organized in two ways either linear or non-linear way. There are two types of data structure available for the programming purpose:
  1. Primitive data structure
  2. Non-primitive data structure
Primitive data structure is a fundamental type of data structure that stores the data of only one type 

Non-primitive data structure is a type of data structure which is a user-defined that stores the data of different types in a single entity.




Constructors & Destructors in c++

  Constructors :  A Constructor is a special member function, which is used to initialize the objects of its class. The Constructor is invok...