Global and Extern Pointers, Arrays

Henry Spencer henry at zoo.toronto.edu
Fri May 24 02:58:05 AEST 1991


In article <AJ3U.91May22202642 at agate.cs.virginia.edu> aj3u at agate.cs.virginia.edu (Asim Jalis) writes:
>I just figured out the following bug in my program.  I had a global
>array, with some initialized value that I was also declared an extern
>pointer in the other files that accessing it...
>Any ideas as to why this is?

Because arrays are not pointers.
-- 
And the bean-counter replied,           | Henry Spencer @ U of Toronto Zoology
"beans are more important".             |  henry at zoo.toronto.edu  utzoo!henry



More information about the Comp.lang.c mailing list