Skip to content

Commit

Permalink
c program created
Browse files Browse the repository at this point in the history
  • Loading branch information
Grégoire Cutzach committed Mar 8, 2018
1 parent c66cd04 commit e605fed
Showing 1 changed file with 14 additions and 0 deletions.
14 changes: 14 additions & 0 deletions write.c
Original file line number Diff line number Diff line change
@@ -0,0 +1,14 @@
#include <stdio.h>

void test(char* a){
printf("%s", a);
return;
}

int main (int argc, char* argv[]){
char * a;

a = argv[argc-1];
test(a);
return 0;
}

0 comments on commit e605fed

Please sign in to comment.