programs/C4.c
author Christian Urban <urbanc@in.tum.de>
Tue, 09 Oct 2012 20:36:06 +0100
changeset 36 38d2f6f1c9d8
parent 28 10da75d5db5d
permissions -rw-r--r--
tuned

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