progs/C4.c
author Christian Urban <christian dot urban at kcl dot ac dot uk>
Wed, 09 Oct 2013 15:51:03 +0100
changeset 115 c4008b31df8e
parent 105 40c51038c9e4
child 220 74772c30e0f4
permissions -rw-r--r--
added material

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

// a program that "just" prints the argument
// on the command line


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

        printf(argv[1]);
}