Listing 2 The value of cnt is incremented by both functions.

   static int cnt;
   void test()
       {
       cnt++;
       printf("Cnt is %d\n", cnt);
       }

   static int cnt;

   void test1()
       {
       cnt++;
       printf("cnt is %d", cnt);
       }

/* End of File */