Difference between local and global variable
Difference between local and global variable
A variable is a name of a storage location where data gets stored. Using that name one can perform operations and manipulations on the values.
A variable should not be named after a reserved keyword.
Unlike constants, a variable holding value can be changed at runtime.
Each and every variable has a lifetime to which extent it is visible within a particular block called scope, and outside of that…
View On WordPress















