Skip to content

Instantly share code, notes, and snippets.

@MLLeKander
Last active December 27, 2015 10:09
Show Gist options
  • Save MLLeKander/7308840 to your computer and use it in GitHub Desktop.
Save MLLeKander/7308840 to your computer and use it in GitHub Desktop.
C args
#include <stdio.h>
int main(int argc, char *argv[]) {
int i;
for (i = 0; i < argc; i++)
printf("argv[%d] = '%s'\n", i, argv[i]);
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment