2.

2.#

 1#include <iostream>
 2
 3using namespace std;
 4
 5int x = 6;
 6
 7int main() {
 8  int x = 5;
 9  {
10    int x = 2;
11    cout << "1:" << x++ << '\n';
12    cout << "2:" << ::x << '\n';
13    cout << "3:" << x << '\n';
14    if (x / 4) {
15      cout << "True!";
16    } else {
17      cout << "False!";
18    }
19  }
20  cout << "4:" << x;
21  return 0;
22}