Skip to content

Instantly share code, notes, and snippets.

@bnoordhuis
Created September 7, 2011 23:40
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save bnoordhuis/2e18f5b0b7b7b7b01f1e to your computer and use it in GitHub Desktop.
Save bnoordhuis/2e18f5b0b7b7b7b01f1e to your computer and use it in GitHub Desktop.
#include <stdio.h>
static void print(char ***argv) {
while (**argv) {
puts(**argv);
(*argv)++;
}
}
#if 1
int main(int argc, char *argv[]) {
#else
int main(int argc, char **argv) {
#endif
print(&argv);
return 0;
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment