Scope refers to the availability/accessibility of variables.
For illustration, suppose we have two scopes that are given below.
//their scope
{
//your scope
}
In general, if a variable defined inside your scope , you can’t access it outside their sc...