Illustration af arrays

Output

I arrayet er indexet på første element 0, næste har index 1 osv. Her har index 2 altså indholdet 5