1: /*
   2:  * Test of static variables.
   3:  */
   4: 
   5: static int ownx;
   6: 
   7: main()
   8: {
   9:     ownx = 2;
  10:     f(3);
  11:     f(4);
  12:     return(0);
  13: }
  14: 
  15: static int owny;
  16: 
  17: f(x)
  18: int x;
  19: {
  20:     static int ownx;
  21: 
  22:     ownx = x;
  23: }

Defined functions

f defined in line 17; used 2 times
main defined in line 7; never used

Defined variables

ownx defined in line 5; used 3 times
owny defined in line 15; never used
Last modified: 1985-03-08
Generated: 2016-12-26
Generated by src2html V0.67
page hit count: 378
Valid CSS Valid XHTML 1.0 Strict