programs/C4.c
author Christian Urban <urbanc@in.tum.de>
Tue, 09 Oct 2012 13:56:35 +0100
changeset 30 9dc8159c9af7
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]);
}