C++ Programming Blog

 
 
 
#include<iostream.h>
int i=10;
main()
{
    int i=5;
    cout<<\"local i= \"<<i<<endl;
    cout<<\"Global i= \"<<::i<<endl;
}

 
 
Didn't find what you were looking for? Find more on Program that provides an example of scope resolution operator