79556852

Date: 2025-04-05 10:53:43
Score: 0.5
Natty:
Report link

But I think it is impossible to write such a and b. Can anyone explain this?

It is possible - visibility of the object depends on the scope too, bot only linkage and storage duration.

int a = 1;
static char b = 2;

void y(int a)
{
      //global a is not accessible here
}

//or

void y(void)
{
      int a;
      //global a is not accessible here
}


void x(void)
{
}
Reasons:
  • RegEx Blacklisted phrase (2.5): Can anyone explain
  • Has code block (-0.5):
  • Contains question mark (0.5):
  • High reputation (-2):
Posted by: 0___________