Given an array nums, write a function to move all 0's to the end of it while maintaining the relative order of the non-zero elements.
void moveZeroes(int* nums, int numsSize){
    int temp;
    int i, j;
    
    for(i=numsSize-1;i>0;i--)
    {
        if(nums[i] != 0)
        {
            for(j=0;j<i;j++)
            {
                if(nums[j] != 0)
                {
                    continue;
                }
                temp = nums[j];
                nums[j] = nums[j+1];
                nums[j+1] = temp;
            }
        }
    }
}
버블정렬 이용