Re: Having issues trying to copy an array
- From: Keith Thompson <kst-u@xxxxxxx>
- Date: Sun, 20 Aug 2006 00:54:40 GMT
CBFalconer <cbfalconer@xxxxxxxxx> writes:
Tim Woodall wrote:[...]
CBFalconer <cbfalconer@xxxxxxxxx> wrote:
No they aren't. They are initialized to all bits zero, which is6.7.8 Initialization
NOT the same thing.
#10 ... If an object that has static storage duration is not initialized
explicitly then:
-- if it has pointer type, it is initialized to a null pointer.
Woops, you may be right here. However, output is not a pointer
type, it is an array type. That provision may not apply, and I
will wait for others to cite C & V.
I already did. C99 6.7.8p10.
--
Keith Thompson (The_Other_Keith) kst-u@xxxxxxx <http://www.ghoti.net/~kst>
San Diego Supercomputer Center <*> <http://users.sdsc.edu/~kst>
We must do something. This is something. Therefore, we must do this.
.
- References:
- Having issues trying to copy an array
- From: Chad
- Re: Having issues trying to copy an array
- From: CBFalconer
- Re: Having issues trying to copy an array
- From: Barry Schwarz
- Re: Having issues trying to copy an array
- From: CBFalconer
- Re: Having issues trying to copy an array
- From: Tim Woodall
- Re: Having issues trying to copy an array
- From: CBFalconer
- Having issues trying to copy an array
- Prev by Date: Re: Having issues trying to copy an array
- Next by Date: Re: Can I Trust Pointer Arithmetic In Re-Allocated Memory?
- Previous by thread: Re: Having issues trying to copy an array
- Next by thread: Re: Having issues trying to copy an array
- Index(es):
Relevant Pages
|