A
auspicious
Hi,
I would like to know what does the standard say about initialization
of local static variable's default initialization.
void f(int a)
{
static int b;
b+=a;
}
Shall 'b' be initialized to zero by default in this case or shall it
produce an error?
I would like to know what does the standard say about initialization
of local static variable's default initialization.
void f(int a)
{
static int b;
b+=a;
}
Shall 'b' be initialized to zero by default in this case or shall it
produce an error?