Computer Science, asked by gauravsaini406, 5 months ago

Is it important to use same variable in different for statement

Answers

Answered by Anonymous
2

Answer:

You can declare local variables with the same name as a global variable, but the local variable will shadow the global. As long as your local a is in scope, the symbol a refers to your local variable. Some languages allow to refer to the global symbols via special syntax, such as ::a or

Explanation:

Similar questions