progs/example2.c
author cu
Sat, 28 Oct 2017 00:02:06 +0100
changeset 559 a2d690dde419
parent 200 17852f5397fd
permissions -rw-r--r--
updated cw

void function(char *str) {
   char buffer[16];

   strcpy(buffer,str);
}

void main() {
  char large_string[256];
  int i;

  for( i = 0; i < 255; i++)
    large_string[i] = 'A';

  function(large_string);
}