example of scope of variable. There are any references about example of scope of variable in here. you can look below.