✏️ Explanatory Question

What is the difference between a data type and data structure?

👁 2,790 Views
📘 Detailed Answer
💡

Answer with Explanation

In computing, a data type is a group of data values with characteristics that are already defined. Some data types are floats, characters, integer, and string. These are called primitive data types. A data structure, on the other hand, is a grouping of data for easy organization and accessibility. Tables, Array stacks, structs, queues, classes, files, and lists are some data structure.