CTS interview question

Write a program on arrray