Array is used to store more then one values under same data type.
Syntax
int a[5];
Types of Array
1.Single dimension
2.Multi dimension
Single dimension array
int a[5];
Multi dimension array
int a[2][2];
dsaJavaCpp Is a Personnel Blog To Learn Basic Programming Data structures and Algorithms For Develop My Programming Skills And Prepare coding Interview. The Blog Contains Basic Algorithms Such As, Divide and Con quire, Linear And non Linear Data Structures.
Array is used to store more then one values under same data type.
Syntax
int a[5];
Types of Array
1.Single dimension
2.Multi dimension
Single dimension array
int a[5];
Multi dimension array
int a[2][2];
Comments
Post a Comment