progs/C4.c
author Christian Urban <christian dot urban at kcl dot ac dot uk>
Thu, 13 Nov 2014 18:48:34 +0000
changeset 307 98ee5f760a8c
parent 233 5a5729358afc
permissions -rw-r--r--
added hw 7

#include<stdio.h>
#include<string.h>

// a program that "just" prints the argument
// on the command line

int main(int argc, char **argv)
{
   char *string = "This is a secret string\n";
   printf(argv[1]);
}