C and C++ concept overview before Starting data-structure.
- Arrays
- Structures
- Pointers
- Reference
- Parameter Passing
- Classes
- Constructor
- Templates
i) Arrays: it is defined as Collection of similar data elements.
declaration of Arrays: int A[5];
How To Access Arrays :
A[0]=27;
A[1]=10;
Declaration and initialization of array :
int main()
{
int a[5];
//with value initialization of arrays
int B[5]={2,4,6,8,10};
}

How to access the array
-> By for() loop
skeleton: for(i=0;i<5;i++){
printf(“%d”,B[i]);
}