[OCLUG-devel] Re: [OCLUG] C - Pointer assignment

Chris Smith cbsmith at gmail.com
Mon May 23 22:55:01 PDT 2005


Yet another desperate attempt to put this on oclug-devel...

On 5/23/05, Ted Gladieux <sshortsword at cox.net> wrote:
> Joshua's code might be what you really want.

Well, the while() test is definitely not what you really want. The
only circumstances under which the while's block will get executed
would be if the array started at address 0, which means the first
deref of array will cause a segfault.

-- 
Chris


More information about the OCLUG-devel mailing list