progs/C4.c
author Christian Urban <christian dot urban at kcl dot ac dot uk>
Thu, 09 Oct 2014 23:12:10 +0100
changeset 229 ea921d6a1819
parent 220 74772c30e0f4
child 233 5a5729358afc
permissions -rw-r--r--
updated

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