What do you mean by Global variable ?
Question :
What do you mean by Global variable ?
Global variable means that it is accessible from anywhere in our script, including from within a function. It is usually defined at the top of the script or outside of the function.