Code explaining arrays