progs/C5.c
author cu
Mon, 23 Oct 2017 00:36:34 +0100
changeset 554 490079e16157
parent 236 40efc28963af
permissions -rw-r--r--
updated

#include<stdio.h>
#include<string.h>

int main(int argc, char **argv)
{  char buf[10];
   snprintf(buf, sizeof buf, argv[1]);
   printf ("Input: %s \n", buf);
}