Hi,
what are the applications of an Array? Can anyone explain with example?
thanks in advance.
Hi,
what are the applications of an Array? Can anyone explain with example?
thanks in advance.
Last edited by vinoth14; 03-02-2015 at 11:29 PM.
The on-site tutorial has a section on that. Did you try reading it yet? Arrays in C - Cprogramming.com
As for applications there are too many to mention. One example is sorting. A good learning program is to make a program that sorts a sequence of integers in ascending order. You're probably going to use an array to store the integers. You probably also want to put the sorted sequence in an array. And when you print out a long list of integers, you probably want those integers to be in an array.