C++ examples for Function:Global Variable
Click the following links for the tutorial for Function and Global Variable.