progs/C4.c
author Christian Urban <christian dot urban at kcl dot ac dot uk>
Mon, 21 Sep 2015 14:23:41 +0100
changeset 382 5b943e29b717
parent 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]);
}