wat is local and global scope of a function?how to identify which function has local or global scope in function
Answers
Answered by
0
Answer:
A variable's scope is the range of the script where it is visible. Variables have either global or local scope. A global variable exists only once in a script, and is visible in every function. Modifications to it in one function are permanent and visible to all functions.
Similar questions
Social Sciences,
3 months ago
Science,
3 months ago
Computer Science,
6 months ago
Chemistry,
11 months ago
English,
11 months ago