Definition : Variable is said to have global scope / file scope if it is defined outside the function and whose visibility is entire program
Advantages of Global Variables :
- If some common data needed to all functions can be declared as global to avoid the parameter passing
- Any changes made in any function can be used / accessed by other
0 Comments:
Post a Comment
Your Feedback :This is Growing Site and Your Feedback is important for Us to improve the Site performance & Quality of Content.Feel Free to contact and Please Provide Name & Contact Email