+ 1

Anyone can tech me. What is the the global variables??

I cannot understand the global variables. I saw many Video in YouTube but can not understand.

10th Oct 2022, 12:27 PM
Shihavul Islam
Shihavul Islam - avatar
3 Respostas
+ 4
so, a unique variable that will be declared inside the function will not be visible in the main program if you do not use the return keyword. conversely, variables that are declared in the main part of the program are visible everywhere. even inside functions. these variables are called global
10th Oct 2022, 12:46 PM
Yaroslav Vernigora
Yaroslav Vernigora - avatar
+ 2
Hi! what a function is and how it works. are its features familiar to you?
10th Oct 2022, 12:36 PM
Yaroslav Vernigora
Yaroslav Vernigora - avatar
+ 1
Yes
10th Oct 2022, 12:40 PM
Shihavul Islam
Shihavul Islam - avatar