Attic/programs/C4.c
author Christian Urban <christian dot urban at kcl dot ac dot uk>
Fri, 12 Dec 2014 15:43:55 +0000
changeset 353 605f815986dd
parent 198 2ce98ee39990
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]);
}