What is the purpose of c++ array during app development? | Sololearn: Learn to code for FREE!
New course! Every coder should learn Generative AI!
Try a free lesson
+ 6

What is the purpose of c++ array during app development?

12th Jul 2019, 1:57 AM
Shakil Hassan
Shakil Hassan - avatar
4 Answers
+ 5
Array is a type of data srtucture. There are other types such as linked list & trees. They are used in a variety of ways.
12th Jul 2019, 3:53 AM
Da2
Da2 - avatar
+ 4
In simple words array is like wide space to store multiple details or values.. Using loops you can use them in many apps, softwares. or even without loop
12th Jul 2019, 4:03 AM
Sarvesh Patkar
Sarvesh Patkar - avatar
+ 1
Array mean que or value are asign one by one.let me explain array uses..for example we will take any empty cup. And we have two variable such water and oil.now we have to store both variables in the same cup.but we can't dived both variable once we stored in cup.because it is contain single space or folder. Hence structure was found for avoid the array space problem .because structure contain several space or folder for save many items. For example you can store water and oil in one container with seprate folders.that is structure...
12th Jul 2019, 8:01 PM
siva Subramanianrasu
siva Subramanianrasu - avatar
0
Shakil Hassan You would use Array to store the name of your 1000 customers named Customers of size 1000 and not 1000 variables declared again and again in your Code.
13th Jul 2019, 7:47 PM
raza naqvi
raza naqvi - avatar