Array vs structure tccicomputercoaching

Page 1

Array vs. Structure - TCCIComputerCoaching Welcome to TCCI-Tririd Computer Coaching Institute. In Programming Language array and structure both are used to store data. But functionality, behaviour, data types are different.

Let us see in details what these differences are. Arrays

Structures

1. An array is a collection of related 1. Structure is a collection of data data elements of same type. elements of different types. 2. An array is a derived data type

2. A structure is a User-defined data type.

3. Any array behaves like a built-in 3. But in the case of structure, first we data types. All we have to do is to have to design and declare a data


Turn static files into dynamic content formats.

Create a flipbook
Issuu converts static files into: digital portfolios, online yearbooks, online catalogs, digital photo albums and more. Sign up and create your flipbook.
Array vs structure tccicomputercoaching by Rosario Riley - Issuu