3rd October 2019


What do you mean by data type?

Data type. Most programming languages support various types of data, for example: real, integer or Boolean. A data type provides a set of values from which an expression (i.e. variable, function) may take its values.

Moreover, what is an example of a data structure?

Examples. There are numerous types of data structures, generally built upon simpler primitive data types: An array is a number of elements in a specific order, typically all of the same type. A record (also called tuple or struct) is an aggregate data structure.

What is a data type and data structure?

A data type (in computing terms) is a set of data values having predefined characteristics. You will have encountered data types during computer programming classes. Example data types would be integer, floats, string and characters.

What is a data structure in C++?

A data structure is a group of data elements grouped together under one name. These data elements, known as members, can have different types and different lengths. Data structures can be declared in C++ using the following syntax: struct type_name {
Write Your Answer


94% people found this answer useful, click to cast your vote.

4.7 / 5 based on 3 votes.


Press Ctrl + D to add this site to your favorites!