Local variable : Any variable declared inside a function is known as Local variable and it’s accessibility remains inside that function only.
Global Variable : Any variable declared outside the function is known as Global variable and it can be easily accessible by any function present throughout the program.
Regular exam updates, QnA, Predictors, College Applications & E-books now on your Mobile