Computer Science, asked by rajeswari4586, 6 months ago

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 sumitpurohit7
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