Skip to content

Instantly share code, notes, and snippets.

@hoxworth
Created March 12, 2013 14:15
Show Gist options
  • Save hoxworth/5143207 to your computer and use it in GitHub Desktop.
Save hoxworth/5143207 to your computer and use it in GitHub Desktop.
int sample(int * int_array, int size) {
return int_array[rand() % size];
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment