Driver code
| 62 | |
| 63 | // Driver code |
| 64 | int main() |
| 65 | { |
| 66 | int arr[] = { 5, 1, 4, 2, 8, 0, 2 }; |
| 67 | int n = sizeof(arr) / sizeof(arr[0]); |
| 68 | CocktailSort(arr, n); |
| 69 | printf("Sorted array :\n"); |
| 70 | printArray(arr, n); |
| 71 | return 0; |
| 72 | } |
nothing calls this directly
no test coverage detected