Sail E0 Webinar
Question

Global variable are available to all functions. Does there exist a mechanism by way of which

it available to some and not to others.


Options:
A .  Yes
B .  No
Answer: Option B

The only way this can be achieved is to define the variable locally in main() instead of 

defining it globally and then passing it to the functions which need it.




Was this answer helpful ?
Next Question

Submit Solution

Your email address will not be published. Required fields are marked *

Latest Videos

Latest Test Papers