fork download
  1. #include <iostream>
  2. using namespace std;
  3.  
  4. int main() {
  5. int a = 25;
  6. int *u_a = &(a);
  7. cout << "Адрес локальной переменной (Stack): " << u_a << "\n";
  8. int **u_x = &u_a;
  9. cout << "Адрес локальной переменной (Stack): " << u_x << "\n";
  10. return 0;
  11. }
Success #stdin #stdout 0s 4352KB
stdin
Standard input is empty
stdout
Адрес локальной переменной (Stack): 0x7fffe2115ecc
Адрес локальной переменной (Stack): 0x7fffe2115ed0