global variable
Not what you're looking for?
The parameter list is the normal means to supply values to a function. Global variables are an alternate means for a function to have access to values. Describe what a global variable is, how it is declared, and then discuss the pros and cons of combining global variables and functions.
Purchase this Solution
Solution Summary
The expert describes what a global variable is, how it is declared, and then discuss the pros and cons of combining global variables and functions.
Solution Preview
Global variables are the variables that has the global scope i.e. they can be accessed from any function that the program comprises. These variables are declared outside all the function definitions including the main() function and are accessible from the place of declaration till the end of the program. And any changes made to these variables remain consistent ...
Purchase this Solution
Free BrainMass Quizzes
Basic UNIX commands
Use this quiz to check your knowledge of a few common UNIX commands. The quiz covers some of the most essential UNIX commands and their basic usage. If you can pass this quiz then you are clearly on your way to becoming an effective UNIX command line user.
Excel Introductory Quiz
This quiz tests your knowledge of basics of MS-Excel.
C++ Operators
This quiz tests a student's knowledge about C++ operators.
Basic Computer Terms
We use many basic terms like bit, pixel in our usual conversations about computers. Are we aware of what these mean? This little quiz is an attempt towards discovering that.
Javscript Basics
Quiz on basics of javascript programming language.