programs/C4.c
author Christian Urban <urbanc@in.tum.de>
Mon, 08 Oct 2012 10:34:12 +0100
changeset 28 10da75d5db5d
permissions -rw-r--r--
pushed

#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]);
}