Array Data Types | Sololearn: Learn to code for FREE!
Novo curso! Todo programador deveria aprender IA generativa!
Experimente uma aula grƔtis
0

Array Data Types

Can someone please explain to me All about array

12th Jan 2017, 9:33 AM
Sol
Sol - avatar
2 Respostas
+ 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
12th Jan 2017, 9:46 AM
Brendan Rovholo
Brendan Rovholo - avatar