what is global declaration
Answers
Answered by
4
hello everyone ❣
Global variables are declared outside any function, and they can be accessed (used) on any function in the program. Local variables are declared inside a function, and can be used only inside that function. The scope of a variable refers to where is a variable visible or accessible.
Similar questions
Math,
6 months ago
India Languages,
6 months ago
Geography,
6 months ago
Math,
11 months ago
Social Sciences,
11 months ago
English,
1 year ago