Array
Array : Difference between Array and Structure: Array Structure 1. In array memory is static. We define the memory on declaration of array. 1. In structure, memory is dynamic. 2. It uses subscript to access elements. 2. It uses Dot operator to access elements. 3. Array is a base pointer and it points to base location 3. Structure is not a pointer type. 4. Array is collection of homogenous data. 4. Structure is collection of heterogenous data. 5. Array is derived data type. 5. Structure is user defined data type. · In C languages, user can design a set of similar data types. When we need to store more than 1 value of similar data type, we use Array. · In c language, a simple variable can store only one value at a time. If we change the value, then pr