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