Skip to content

Instantly share code, notes, and snippets.

@peisenhower
Created October 29, 2013 17:27
Show Gist options
  • Save peisenhower/7219071 to your computer and use it in GitHub Desktop.
Save peisenhower/7219071 to your computer and use it in GitHub Desktop.
COUNTOF
#define COUNTOF(x) (sizeof(x)/sizeof(x[0]))
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment