Skip to content

Instantly share code, notes, and snippets.

@AndyNovo
Created September 30, 2016 15:25
Show Gist options
  • Save AndyNovo/cd6185981b21b93c57102125d62fce41 to your computer and use it in GitHub Desktop.
Save AndyNovo/cd6185981b21b93c57102125d62fce41 to your computer and use it in GitHub Desktop.
#include <string.h>
void go(char *data) {
char name[64];
strcpy(name, data);
}
int main(int argc, char **argv) {
go(argv[1]);
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment