Practical use of arrays? | Sololearn: Learn to code for FREE!

+1

Practical use of arrays?

cpp

6/9/2017 5:04:20 PM

Vishwas Mishra

2 Answers

New Answer

+2

To store linear data of similar types

+1

For example, if you read a line with data from a text (tab delimited) file you can split it by spaces and save it in an array. In Csharp you'd have something like this. line.Split(" "). After that you can manipulate the data in the array.