int i = 3; // Portée globale static int j = 4; // Portée fichier void() { cout << i << endl; int i = 5; { int i = 1994; cout << i << endl; } cout << i << endl; }
int i = 3; // Portée globale static int j = 4; // Portée fichier
void() { cout << i << endl; int i = 5; { int i = 1994; cout << i << endl; } cout << i << endl; }