Demo1


#include   
int main() 
{  
  {
      int x = 10;
  }
  {
     /* Error: x is not accessible here since, there is no declaration of x in this block*/
    printf("%d", x); 
  }
return 0;  
}  

Comments