fork download
  1. #include <iostream>
  2. #include<bits/stdc++.h>
  3.  
  4. using namespace std;
  5.  
  6. int main() {
  7. // your code goes here
  8. int n=10;
  9. int *ptr;
  10. ptr=&n;
  11. cout<<ptr;
  12. return 0;
  13. }
Success #stdin #stdout 0s 5276KB
stdin
Standard input is empty
stdout
0x7fffac3dc2f4