progs/C5.c
changeset 234 17e0efbec5d0
child 235 75e32cd57ef0
equal deleted inserted replaced
233:5a5729358afc 234:17e0efbec5d0
       
     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 }