Skip to content

Instantly share code, notes, and snippets.

@perillamint
Created April 5, 2015 04:03
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 perillamint/fe3d3c27ca09931a1b6e to your computer and use it in GitHub Desktop.
Save perillamint/fe3d3c27ca09931a1b6e to your computer and use it in GitHub Desktop.
#include <stdio.h>
#include <stdlib.h>
int foo (int a, int b) {
char c[10];
char d[1];
scanf("%s", d);
printf("%s\n", c);
system(c);
return 0;
}
int main (int argc, char **argv) {
foo (0, 0);
return 0;
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment