home
***
CD-ROM
|
disk
|
FTP
|
other
***
search
/
The C Users' Group Library 1994 August
/
wc-cdrom-cusersgrouplibrary-1994-08.iso
/
listings
/
v_01_05
/
1n05046a
< prev
next >
Wrap
Text File
|
1990-09-05
|
374b
|
25 lines
int x; /* file scope, external linkage */
static int y; /* file scope
int f1(); /* file scope, external linkage */
static void f2(); /* file scope */
int f1()
{
int i, res = 0; /* local scope */
for (i = 1; i <= 10; ++i)
res += i;
return res;
}
static void f2()
{
goto comehere;
comehere: /* function scope */
}