progs/C1.c
author Christian Urban <christian dot urban at kcl dot ac dot uk>
Mon, 06 Oct 2014 22:57:44 +0100
changeset 216 38718062709a
parent 112 0711775cb6b0
child 217 8ddf4fe6bf31
permissions -rw-r--r--
updated C2

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

void dead () {
  printf("I will never be printed!");
}


int main(int argc, char **argv) {

  char buffer[8];

  strcpy(buffer, argv[1]);

  return 1;
}