What is difference between data type and data structure?



What is difference between data type and data structure?..

Answer / Avnindra Vaidhya

A data type is a classification of data that specifies its format and valid values, while a data structure is a way to organize and store collections of data for efficient use in a program. Data types can be classified as primitive or user-defined, whereas data structures include arrays, linked lists, trees, graphs, and others.

Is This Answer Correct ?    0 Yes 0 No

Post New Answer

More Data Structures Interview Questions

What is a static structure?

1 Answers  


Why do we need linked list?

1 Answers  


Which interfaces are implemented by enumset?

1 Answers  


What are the parts of a linked list?

1 Answers  


Define parent node?

1 Answers  


Why is sorting necessary?

1 Answers  


How do you get placements?

1 Answers  


What is vector and types of vector?

1 Answers  


Why it is important to have aligned addresses? What is the exception generated when there is a misaligned address?

1 Answers   Ciena,


Is stack a dynamic data structure?

1 Answers  


Define a linear and non linear data structure.

1 Answers  


Define primary data structures?

1 Answers  


Categories