Created
July 8, 2020 12:24
-
-
Save BMU-Verlag/96aaa585731615b54a53da9a857265f7 to your computer and use it in GitHub Desktop.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
int main() { | |
int arr[] = {5, 12, 18, 4, 6, 9}; | |
int groesse = sizeof(arr) / sizeof(arr[0]); | |
heapSort(arr, groesse); | |
printf("Sortiertes Array:\n"); | |
for (int i = 0; i < groesse; ++i){ | |
printf("%d ", arr[i]); | |
} | |
} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment