Re: 'static' : strange behavior
- From: Andrew Haley <andrew29@xxxxxxxxxxxxxxxxxxxxxxx>
- Date: Tue, 28 Dec 2010 11:05:05 -0600
christian.bau <christian.bau@xxxxxxxxxxxxxxxxxx> wrote:
void init_this (void) {
static int anarray [10];
int i; for (i = 0; i <= 10; ++i) anarray [i] = 0;
}
Ahem. Surely I cannot be the only person to have noticed this
mistake, which explains everything...
Andrew,
.
- Follow-Ups:
- Re: 'static' : strange behavior
- From: Willem
- Re: 'static' : strange behavior
- References:
- 'static' : strange behavior
- From: Mark
- Re: 'static' : strange behavior
- From: Eric Sosman
- Re: 'static' : strange behavior
- From: Mark
- Re: 'static' : strange behavior
- From: christian.bau
- Re: 'static' : strange behavior
- From: christian.bau
- 'static' : strange behavior
- Prev by Date: Re: Where to download C99 Standard
- Next by Date: Re: 'static' : strange behavior
- Previous by thread: Re: 'static' : strange behavior
- Next by thread: Re: 'static' : strange behavior
- Index(es):
Relevant Pages
|