fork download
  1. #include<iostream>
  2.  
  3. int main()
  4. {
  5. const int n=99;
  6. const int *ptr=&n;
  7. std::cout << "address of n : " << ptr;
  8. }
Success #stdin #stdout 0s 3296KB
stdin
Standard input is empty
stdout
address of n : 0xbf837ecc