progs/example2.c
changeset 200 17852f5397fd
equal deleted inserted replaced
199:20af800ce736 200:17852f5397fd
       
     1 void function(char *str) {
       
     2    char buffer[16];
       
     3 
       
     4    strcpy(buffer,str);
       
     5 }
       
     6 
       
     7 void main() {
       
     8   char large_string[256];
       
     9   int i;
       
    10 
       
    11   for( i = 0; i < 255; i++)
       
    12     large_string[i] = 'A';
       
    13 
       
    14   function(large_string);
       
    15 }
       
    16