0% found this document useful (0 votes)
13 views16 pages

Unit1 Array

The document discusses arrays in data structures. Arrays are defined as collections of similar data items stored in contiguous memory locations that can be randomly accessed using indexes. In C programming, arrays are derived data types that can store primitive data like integers, characters, doubles, and floats.

Uploaded by

4ghj9zrgy2
Copyright
© © All Rights Reserved
We take content rights seriously. If you suspect this is your content, claim it here.
Available Formats
Download as PPTX, PDF, TXT or read online on Scribd
0% found this document useful (0 votes)
13 views16 pages

Unit1 Array

The document discusses arrays in data structures. Arrays are defined as collections of similar data items stored in contiguous memory locations that can be randomly accessed using indexes. In C programming, arrays are derived data types that can store primitive data like integers, characters, doubles, and floats.

Uploaded by

4ghj9zrgy2
Copyright
© © All Rights Reserved
We take content rights seriously. If you suspect this is your content, claim it here.
Available Formats
Download as PPTX, PDF, TXT or read online on Scribd
You are on page 1/ 16

Unit 1

Basics of array
Array in Data Structure
• Arrays are defined as the collection of similar types of data items
stored at contiguous memory locations.
• It is one of the simplest data structures where each data element can
be randomly accessed by using its index number.
• In C programming, they are the derived data types that can store the
primitive type of data such as int, char, double, float, etc.
• For example, if we want to store the marks of a student in 6 subjects,
then we don't need to define a different variable for the marks in
different subjects.
• Instead, we can define an array that can store the marks in each
subject at the contiguous memory locations.
3 dimensional array
output
• Ref Video Links
• https://youtu.be/3cU__spdMIw
• https://youtu.be/3cU__spdMIw

You might also like