0
Array Data Types
Can someone please explain to me All about array
2 Respuestas
+ 1
an array can simply be said as a variable which stores more than one value. It has slots where different values can be stored.
int myarr[5];
myarr[2] = 78;
the previous section of code declares an array myarr of type int and stores the integer 78 in index 2.
an array can be of any data type. e.g bool, char , string etc