int main() { int arr[] = {4, 2, 4, 5, 2, 3, 1}; int arr_size = sizeof(arr)/sizeof(arr[0]); printRepeating(arr, arr_size); getchar(); return 0; }
int main() { int i,n; scanf("%d",&n); int *arr=(int*)malloc(n*sizeof(int)); for(i=0;i<n;i++) { scanf("%d",&arr[i]); } shellsort(arr,n); printRepeating(arr,n); return 0; }
int main(){ int arr[] = {1, 2, 3, 1, 3, 6, 6}; int arr_size = sizeof(arr)/sizeof(arr[0]); printRepeating(arr, arr_size); return 0; }