1 #include<stdio.h>
2 #include<string.h>
3
4 int main(int argc, char **argv)
5 { char buf [100];
6 snprintf(buf, sizeof buf, argv [1]);
7 printf ("Input: %s \n", buf);
8 }