2007-12-24 16:19:51 +08:00
|
|
|
import stdio;
|
|
|
|
|
|
|
|
int
|
|
|
|
main(int argc, char **argv)
|
|
|
|
{
|
|
|
|
static int static_variable;
|
2008-08-29 15:35:31 +08:00
|
|
|
static char *static_string;
|
2007-12-24 16:19:51 +08:00
|
|
|
|
|
|
|
static_variable = 1;
|
|
|
|
printf("%d", static_variable);
|
|
|
|
static_variable = 2;
|
|
|
|
printf(";%d", static_variable);
|
2008-08-29 15:35:31 +08:00
|
|
|
static_string = "OK";
|
|
|
|
printf(";%s", static_string);
|
|
|
|
static_string = "NEW";
|
|
|
|
printf(";%s", static_string);
|
2007-12-24 16:19:51 +08:00
|
|
|
puts("");
|
|
|
|
return 0;
|
|
|
|
}
|