Difference between homogeneous and non homogeneous data structure
Answers
Answered by
17
Homogeneous data structure are those structures that contain only similar type of data
EXAMPLE: like a data structure containing only float and integer values. Simplest example is an array.
Heterogeneous data structure are those structures that contains a variety or dissimilar type of data.
EXAMPLE: a data structure that can contain various data of different types like integer, float and character.
EXAMPLE: like a data structure containing only float and integer values. Simplest example is an array.
Heterogeneous data structure are those structures that contains a variety or dissimilar type of data.
EXAMPLE: a data structure that can contain various data of different types like integer, float and character.
Answered by
2
Homogeneous and Non homogeneous:
- Homogeneous data structure can be defined as structure consisting of a group of data in which the data are of similar "data types".
- The data types are usually number, or letters or characters but of single type. Array is an example
- Heterogeneous data structure in a programming language is a structure consisting of group of data in which the data are of different data types. Classes are an example.
To know:
How is blood a heterogeneous substance
https://brainly.in/question/4083067
5 difference between homogeneous system and heterogeneous systems
https://brainly.in/question/8841303
Similar questions