progs/example2.c
author cu
Sun, 15 Oct 2017 18:57:18 +0100
changeset 549 56e7e76b37e9
parent 200 17852f5397fd
permissions -rw-r--r--
updated

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