Array
Array
Rakib Mahmud
Introduction
• Array is a collection of similar data elements.
• For understanding the array, we need to understand
how it actually works. To understand this, we need to
follow the flow mentioned below:
• Declare
• Initialize
• Access
Declaring an Array
For Example:
int A[];
Or, int[ ] A;
How many elements can array this
hold?
For Example:
A = new int[x]