Le 20 Feb 2001 11:40:18 -0500, Jeremy Jackson a 馗rit :
> Xavier Bestel wrote:
>
> > Le 20 Feb 2001 02:10:12 +0100, Andreas Bombe a 馗rit :
> > >
> > > An array is a word that contains the address of the first element.
> >
> > No. Exercise 3: compile and run this:
> > file a.c:
> > char array[] = "I'm really an array";
> >
> > file b.c:
> > extern char* array;
> > main() { printf("array = %s\n", array); }
> >
>
> try file b.c
> extern char array;
> main() { printf("array= %s\n", &array); }
So ?
-
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo _at_ vger.kernel.org
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/
References:
- Re: Is this the ultimate stack-smash fix?Xavier Bestel <xavier.bestel _at_ free.fr>
- Re: Is this the ultimate stack-smash fix?Jeremy Jackson <jeremy.jackson _at_ sympatico.ca>
- Prev by Date: Re: [PATCH] new setprocuid syscall
- Next by Date: [PATCH] make softdog/hardware watchdog in same box work
- Prev by thread: Re: Is this the ultimate stack-smash fix?
- Next by thread: Re: Is this the ultimate stack-smash fix?
- Indexes:[Main][Thread]