Skip to content

Instantly share code, notes, and snippets.

@katlogic
Created August 20, 2014 15:19
Show Gist options
  • Save katlogic/966e1af51df889acb233 to your computer and use it in GitHub Desktop.
Save katlogic/966e1af51df889acb233 to your computer and use it in GitHub Desktop.
int main(int argc, char **argv)
{
char *p;
for (p = argv[0]; *p; p++) {
puts(p); p += strlen(p);
}
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment