Scope resolution operator usage Questions

1

C++ scope resolution operator tell the output and give the reason
#include<iostream.h> #include<conio.h> int a=10; void main() { int a=5; clrscr(); cout<<::a++<<++a<<endl; for(int i=1;i<=3;i++)  { cout<<a++<<::a+2;   getch();  } }

Answer Question   |  July 6, 2010  6:27 PM
C++, Scope resolution operator usage
asked by:
5 pts.

1