What will be the output of the following program fragment? #include<iostream.h> int i=10; int main() { int i=20; { int i=30; cout<<i<<::i; } return 0; }
Reveal answer
Fill a bubble to check yourself
What will be the output of the following program fragment? #include<iostream.h> int i=10; int main() { int i=20; { int i=30; cout<<i<<::i; } return 0; }