int a; //グローバル変数。外部に公開される。
static int b; //静的変数。値が保持される。
func(){
 static int c; //変数b同様。func内のみ参照可能。
 {
  static int d; //変数c同様。{ } 内のみ参照可能。
 }
}