Mail Archives: djgpp/1997/08/14/10:18:03
In article , "Smith says...
>
>when i run this:
>
...
>
>to impatience...) it echos the input string, and prints *4* for the
>size. when the string gets longer, it segs out.
>
It prints 4 because it's size of the pointer (yes, if you declare buffer[4],
buffer is still a pointer).
>why doesn't it seg out as soon as the string exceeds four characters??
>
>the same thing happens if you declare the string as a pointer (*buffer).
>
>does a declared variable name automagically get 64 bytes of exercise
>space??
>
>phil
>
But other your questions pussled me too.
- Raw text -