What is output of the following program? #include using namespace std; int x = 19; int main() { int x = 21; { int x = 41; cout <<::x<
Answers
Answered by
0
Answer:
::x = 19
Explanation:
#include<iostream.h>
using namespace std;
int x = 19;
int main()
{
int x = 21;
{
int x = 41;
cout <<"::x"<<::x;
}
}
Similar questions