0% found this document useful (0 votes)
2 views1 page

Array Compact SingleFont

Array is a linear data structure that stores elements of the same data type in continuous memory locations, accessed via indices. It has fixed size, allows random access, and comes in various types such as one-dimensional, two-dimensional, and multidimensional arrays. While arrays offer fast data access and simple memory management, they have limitations including fixed size, difficulty in insertion and deletion, and potential memory wastage.
Copyright
© All Rights Reserved
We take content rights seriously. If you suspect this is your content, claim it here.
Available Formats
Download as PDF, TXT or read online on Scribd
0% found this document useful (0 votes)
2 views1 page

Array Compact SingleFont

Array is a linear data structure that stores elements of the same data type in continuous memory locations, accessed via indices. It has fixed size, allows random access, and comes in various types such as one-dimensional, two-dimensional, and multidimensional arrays. While arrays offer fast data access and simple memory management, they have limitations including fixed size, difficulty in insertion and deletion, and potential memory wastage.
Copyright
© All Rights Reserved
We take content rights seriously. If you suspect this is your content, claim it here.
Available Formats
Download as PDF, TXT or read online on Scribd

ARRAY

Definition:
Array ek linear data structure hai jisme same data type ke elements continuous memory locations me store hote hain. Elements
ko index ke through access kiya jata hai.

Characteristics:
1. Sabhi elements same data type ke hote hain.
2. Memory allocation continuous hoti hai.
3. Index ke through direct access hota hai.
4. Array ka size fixed hota hai.
5. Random access possible hota hai.

Types of Array:
1. One Dimensional Array – single line me data store hota hai.
2. Two Dimensional Array – rows aur columns ke form me data hota hai.
3. Multidimensional Array – do se zyada dimensions wale array.

Advantages:
1. Data ko fast access kiya ja sakta hai.
2. Sorting aur searching easy hoti hai.
3. Memory management simple hota hai.

Limitations:
1. Size fixed hone ki wajah se flexibility kam hoti hai.
2. Insertion aur deletion difficult hota hai.
3. Kabhi-kabhi memory wastage hoti hai.

You might also like