home
***
CD-ROM
|
disk
|
FTP
|
other
***
search
/
C Programming Starter Kit 2.0
/
SamsPublishing-CProgrammingStarterKit-v2.0-Win31.iso
/
tyc
/
list12_2.c
< prev
next >
Wrap
C/C++ Source or Header
|
1993-10-16
|
229b
|
19 lines
/* Illustrates variable scope. */
#include <stdio.h>
void print_value(void);
main()
{
int x = 999;
printf("%d", x);
print_value();
}
void print_value(void)
{
printf("%d", x);
}