Attic/programs/C4.c
author Christian Urban <christian dot urban at kcl dot ac dot uk>
Tue, 07 Oct 2014 01:43:46 +0100 (2014-10-07)
changeset 221 ae6074cc446a
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]);
}