Why isn\'t the output 101 while I assigned the previous x to the new x?
101
x
int x = 101; { int x = x; std::cout &l
There's another way to do it.
#include int x = 101; int main() { int x = ::x; std::cout << x << std::endl; std::cin.get(); }