Skip to content

Instantly share code, notes, and snippets.

@abiriadev
Created July 1, 2023 16:10
Show Gist options
  • Save abiriadev/211347401e9bf1ff2a6fd893527a501c to your computer and use it in GitHub Desktop.
Save abiriadev/211347401e9bf1ff2a6fd893527a501c to your computer and use it in GitHub Desktop.
int cmp(const void *a, const void *b) { return (*(int *)a > *(int *)b) - (*(int *)a < *(int *)b); }
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment