progs/C5.c
author Christian Urban <urbanc@in.tum.de>
Sat, 03 Jun 2017 23:57:07 +0100
changeset 515 41d3aea3113d
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);
}