programs/C4.c
author Christian Urban <urbanc@in.tum.de>
Sun, 28 Oct 2012 01:23:00 +0000
changeset 56 a6c138003019
parent 28 10da75d5db5d
permissions -rw-r--r--
added HW5

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