Use of scope Resolution of Operators.
CODING:
#include<iostream.h>
#include<conio.h>
int a=5;
void main()
{
int a=10;
clrscr();
cout<<a<<endl<<::a;
getch();
}
CODING:
#include<iostream.h>
#include<conio.h>
int a=5;
void main()
{
int a=10;
clrscr();
cout<<a<<endl<<::a;
getch();
}
Comments
Post a Comment