Answer:
a
Step-by-step explanation:
The scope of a variable declared within the for() loop is only known within the for loop.
The variable declared within the for () loop is accessible inside the loop itself and it goes out of scope once it comes out of the loop.
for(int i=1; i<=10;i++) // variable i is declared inside the loop
{
// variable i is accessible inside this block only
}
// variable i goes out of scope