progs/C4.c
author Christian Urban <christian dot urban at kcl dot ac dot uk>
Mon, 30 Sep 2013 23:57:44 +0100
changeset 105 40c51038c9e4
child 115 c4008b31df8e
permissions -rw-r--r--
added

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