in main(), the program needs to maintain the size of the array. So an allocation of 50 spaces are available, but if you only enter 2 values, the size should be 2. It is this 2 that should be passed to Insertsort().
I Insertsort(), once you have found the insertion point (with the for loop), you should insert the value moving the remaining values down (as you do with the while loop), then insert the item, then return. There's no need to keep going around the outer for loop.