![if !IE]> <![endif]>
Structure is a user-defined which has the combination of data items with different data types. This allows to group of variables of mixed data types together into a single unit.
Purpose of Structures
In any situation when more than one variable is required to represent objects of uniform data-types, array can be used. If the elements are of different data types,then array cannot support. If more than one variable is used, they can be stored in memory but not in adjacent locations. It increases the time consumption while searching. The structure provides a facility to store different data types as a part of the same logical element in one memory chunk adjacent to each other.
Copyright © 2018-2023 BrainKart.com; All Rights Reserved. Developed by Therithal info, Chennai.