- Information
- AI Chat
This is a Premium Document. Some documents on Studocu are Premium. Upgrade to Premium to unlock it.
Was this document helpful?
This is a Premium Document. Some documents on Studocu are Premium. Upgrade to Premium to unlock it.
Primitive vs nonprimitive data structures
Course: Btech (kcs-701)
478 Documents
Students shared 478 documents in this course
University: APJ Abdul Kalam Technological University
Was this document helpful?
This is a preview
Do you want full access? Go Premium and unlock all 4 pages
Access to all documents
Get Unlimited Downloads
Improve your grades
Already Premium?
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:
oPrimitive data structure
oNon-primitive data structure
Primitive data structure is a fundamental type of data structure that stores
the data of only one type whereas the 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.
In the above image, we can observe the classification of the data
structure. The data structure is classified into two types, i.e., primitive and
non-primitive data structure. In the case of primitive data structure, it
contains fundamental data types such as integer, float, character, pointer,
and these fundamental data types can hold a single type of value. For
example, integer variable can hold integer type of value, float variable can
hold floating type of value, character variable can hold character type of
value whereas the pointer variable can hold pointer type of value.
In the case of non-primitive data structure, it is categorized into two parts
such as linear data structure and non-linear data structure. Linear data
structure is a sequential type of data structure, and here sequential
Why is this page out of focus?
This is a Premium document. Become Premium to read the whole document.