John Levon <[EMAIL PROTECTED]> writes:

| > (or is this only static variables at file scope?)
| > 
| >         Lgb
| > 
| 
| Is this a c++ thing ?

No.

Try this:

#include <stdio.h>
static
int test1;
int test2;
int main() 
{
        int test3;
        printf("test1: %d\n", test1);
        printf("test2: %d\n", test2);
        printf("test3: %d\n", test3);
}

With both C and C++ compilers.

        Lgb

Reply via email to