Elementary Data Structures
Elementary Data Structures Name: - Sanjyot Sanjay Mankar Urn no: - 2020-B-03022003 Class: - BCA CTMA Course Name: - Data structure using C. Abstract Data Type & Array in C++: Abstract Data type: - The Data Type is basically a type of data that can be used in a different computer program. It signifies the type like integer, float, etc, the space-like integer will take 4-bytes, a character will take 1-byte of space, etc. The abstract data type is a special kind of datatype, whose behavior is defined by a set of values and a set of operations. The keyword “Abstract” is used as we can use these data types, we can perform different operations. But how those operations are working is totally hidden from the user. The ADT is made of primitive data types, but operation logics are hidden. Some examples of ADT are Stack, Queue, List, etc. 2. Arrays in C: - The array is a container that can hold a fixed number of items and these items should be of t