To give you a brief idea. When you allocate an array you are actually reserving some memory for storing data. now lets c
when you say
int Quantity[6]; you have reserved memory to store 6 int data type. This memory is allocated serially one after the other. so you can imagine it to be 6 blocks-each capable of holding an 'int'-placed one after another.
not how do you access each of these blocks? luckily for you have numbers assigned to each of them(for now you can take it this way, once you learn pointers you'll see exactly how it works) so you have 0 for the first block, 1 for the second block and so on. Thus to either extract the data from a particular location or to insert data into a particular location all you need to do is, go to that memory location using it's number. Quantity[0] for 1st location. now its easy, you can go to any location, get data/put data do whatever you want to :) ...
Note: this was just to get you imagining on the lines. now you can read furthur to get the nitty gritty... you might start enjoying c++