Program to Print Elements of an Array

Example 1:

Output :

 Elements of given array:
 1 2    3    4    5