Nagarro Interview Question

1. To print the elements of array with using for loop. 2. To find the selective arrangements of an array.