You can't "remove" elements to make them appear like they do not exists.
What you could do is searching the array starting from the beginning for a value that is different from 0. That will be the element that needs to be moved (actually you will copy it) in the first position (array[0]). From that number onwards, until the end of the array, you need to move back all the numbers to the beginning of the array, and then printf() them using a loop that executes a number of times equal to the number of significant digits of the array