Warning: implode(): Invalid arguments passed in /www/wwwroot/jobquiz.info/mdiscuss.php on line 336 Global variable are available to all functions. Does there exist a mechanism by way of which it available to some and not to others. ?->(Show Answer!)
1. Global variable are available to all functions. Does there exist a mechanism by way of which it available to some and not to others.
Ask Your Doubts Here
Comments
By: guest on 01 Jun 2017 06.01 pm
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.