The variables are used to store values.
One of them is global variable when it is declared in the main program area (see image).
It is recommended that avoid using this type of variable, since it can lead to confusion in the code.
It is preferable to use local variable!
This type of variable is recognized at any point in your code, that is,
within any function, you can use this variable as long as no local variable has the same name!
When you create a global variable, you can configure the following characteristics: