The difference between linear array and a record is

Options
- An array is suitable for homogeneous data but the data items in a record may have different data type
- In a record, there may not be a natural ordering in opposed to linear array.
- A record form a hierarchical structure but a linear array does not
- All of the above


CORRECT ANSWER : All of the above

Discussion Board
Dsa

Nice

Priya kewlani 11-28-2018 03:06 AM

Data Structure - Linear Array & Record

The difference between Linear Array and a Record are as follows:

- An array is suitable for homogeneous data but the data items in a record may have different data type. You cannot store different type of data in array as integer, float, double, etc.

- In a record, there may not be a natural ordering in opposed to linear array. In array, ordering always start from index.

- A record form a hierarchical structure but a linear array does not. As an example a record may be parent child relationship, so it will create hierarchical structure.

The operation of processing each element in the list is known as traversing the link list.

Prajakta Pandit 02-1-2017 04:06 AM

Write your comments

 
   
 
 

Enter the code shown above:
 
(Note: If you cannot read the numbers in the above image, reload the page to generate a new one.)


Advertisement