Given an array A of positive integers. Push all the zero’s of a given array to the end of the array.
The first line contains an integer T denoting the total number of test cases. In each test cases, first line is number of elements in array N and next line contains array elements.
Print the array after shifting all 0's at the end.â€‹
1 <= T <= 100
1 <= N <= 103
0 <= Ai <=103
3 5 0 0 4
3 5 4 0 0
Testcase 1: All the zeros are moved to last and then array is as shown in the output.