Friday, 23 April 2021

Scope Resolution Operator in C++ Qus: 1

 #include<iostream.h>

#include<conio.h>

int a=10;

int main()

{

clrscr();

int a=5;

cout<<a<<endl;

cout<<::a<<endl;

getch();

return 0;

}

No comments:

Post a Comment