answersLogoWhite

0


Best Answer

A primitive data structure is generally a basic structure that is usually built into the language, such as an integer, an array or a linked-list.

A non-primitive data structure is built out of primitive data structures linked together in meaningful ways, such as a binary search tree, AVL Tree, Hashtable, etc.

User Avatar

Wiki User

14y ago
This answer is:
User Avatar

Add your answer:

Earn +20 pts
Q: What is the difference between primitive and non primitive data structure?
Write your answer...
Submit
Still have questions?
magnify glass
imp
Related questions

What is the difference between allocation and search data structure?

difference between serch data structure and allocation data structure


What do you mean by non primitive data structure in C programming?

What do you mean by searching in data structure in C.?


Is array a primitive data structure?

No, it's not. But it can be based on primitive data types (int, char, long, double and so on).


What is the difference between structure and pointer?

A structure is a collection of primitives or other structures. A pointer is a memory address. Comparison of the two is like comparing bowling balls to cinder blocks. You can say that a structure defines the layout of the data, while a pointer points to data that is a particular structure.


What is the difference between data and data structure?

Data structure: An information structure is an arrangement of information considered as one substance. An int, for instance, is a straightforward variable, can't be considered as an information structure, yet an exhibit is an information structure. Data: Information will be data that has been interpreted into a frame that is more advantageous to move or procedure.


What is different between primitive date type and non primitive data type in c plus plus programming language?

A primitive data type is built into the language - int, char, long, etc. A non-primitive data type is am abstract data type that is built out of primitive data types - linked list, queue, stack, etc.


What is the difference between relation and relationship in dbms?

In a database management system (DBMS), a relation refers to a table that stores data in rows and columns, representing an entity or concept. A relationship, on the other hand, defines the connection between tables based on common fields, such as primary and foreign keys, to establish associations between different entities in the database. Relations are used to store data, while relationships define how data in different tables are related to each other.


Data types in c primitive and non primitive?

Primitive types are the data types provided by a programming language as basic building blocks. Primitive types are also known as built-in types or basic types. Depending on the language and its implementation, primitive types may or may not have a one-to-one correspondence with objects in the computer's memory. However, one usually expects operations on primitive types to be the fastest language constructs there are. Integer addition, for example, can be performed as a single machine instruction


What is the difference between binary tree and tree data structure?

binary tree is a specific tree data structure where each node can have at most 2 children nodes. In a general Tree data structure nodes can have infinite children nodes.


Difference types of nonlinear data structure?

Tree, Graphs are the types of nonlinear data structure.


Should element in an array must be of primitive data type?

No, it can be array, structure or union as well.


What is difference between treeset and treemap?

TreeSet internally implements Balanced Tree Structure whereas TreeMap implements Red Hat Tree Data Structure.