What will be the output of the following code segment?
void fn()
{
static int i=10;
printf("%d",++i);
}
main()
{
fn();
fn();
}
Answer & ExplanationOption: [C]

void fn()
{
static int i=10;
printf("%d",++i);
}
main()
{
fn();
fn();
}
Answer & ExplanationOption: [C]
