Answer ( 1 )

  1. A variable which is declared inside function or block is known as a local variable. The scope of a variable is available within a function in which they are declared. Variables can be accessed only by those statements inside a function in which they are declared.

Leave an answer