#include <stdio.h>
int i;
int main()
{
extern int i;
if (i == 0)
printf("scope rules\n");
}
Output: scope rules
How extern variable works here?
Why there is no error like
Compile time error due to multiple declaration