Back To C++ Basic Index
        
        
        a global variable can be accessed from any function in the program, a global variable is common to all functions
        
        if a local and global varaible has the name name as in the code below(local and global variable is declared with name a)
        
        global variable can be accessed using (::) scope resolution operator