changeset 200 | 17852f5397fd |
--- /dev/null Thu Jan 01 00:00:00 1970 +0000 +++ b/progs/example2.c Sat Oct 04 15:07:26 2014 +0100 @@ -0,0 +1,16 @@ +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); +} +