Attic/programs/C4.c
author Christian Urban <urbanc@in.tum.de>
Sat, 08 Oct 2016 13:54:14 +0100 (2016-10-08)
changeset 471 97ab057cbd2e
parent 198 2ce98ee39990
permissions -rw-r--r--
updated
#include<stdio.h>
#include<string.h>

// a program that just prints the argument
// on the command line
//
// try and run it with %s


main(int argc, char **argv)
{
        char *string = "This is a secret string\n";

        printf(argv[1]);
}