title: Program is printing array with additional elements and garbage values
body: <p>I have written a c program to insert a element in array at first position. My logic is right i got the output. But the size of array being printed after inserting is the the number of last array element. For example if my array size is 6 and last array element is 15 then it is printing array of 15 elements with garbage values. (even after changing values). I dont know what is going wrong!! Please help me.  </p>