Hi all,
following is the cope snippet that i am trying to run.
Code:
  #include<stdio.h>
  int main()
  {
      int a=1;
      switch(a)
      {   int b=20;
          case 1: printf("b is %d\n",b);
                  break;
          default:printf("b is %d\n",b);
                  break;
      }
      return 0;
  }
i jus wanted to know whether the statements inside the switch statement but outside all the case blocks will execute or not.

Thanks in advance,
Gangadhar

Last edited by shabbir; 30Nov2006 at 10:30.. Reason: Code formating.