मराठी

Records in Data Structure

Advertisements
  • Introduction to Records 
  • Representation of records in memory 

Records

Records is a collection of fields. A record may contain non-homogeneous data i.e. data items in a record may have different data types. In records, the natural ordering of elements is not possible. The elements in records can be described by level numbers. For ex: 

  1. Newborn  
  2. Name 
  3. Birthday. 
  4. Month 
  5. Day 
  6. Year

Representation of records in memory   

Records contain non-homogeneous data. To store records in memory we may use linear arrays. As data in a record are of non-homogenous type while data stored in array is of homogenous type, we use parallel arrays, each storing a different field.

If you would like to contribute notes or other learning material, please submit them using the button below.
Advertisements
Share
Notifications

Englishहिंदीमराठी


      Forgot password?
Use app×