programs/C4.c
author Christian Urban <christian dot urban at kcl dot ac dot uk>
Tue, 01 Oct 2013 13:15:26 +0100
changeset 108 c3b8432718ed
parent 28 10da75d5db5d
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]);
}