I would like to know how to initialize a static variable conditionally.
if(flag == true)
{
static int jk = 4;
}
else
{
static int jk = 5;
}
int kl = jk + 34;
I would like jk to be a static variable, and initialized only once,
but conditionally. however, when I put it in an if statement, it's
scope becomes limited to the if { } region.