fork download
  1. #include <iostream>
  2. using namespace std;
  3.  
  4. int main() {
  5. int i = 5;
  6. void* ptr = &i;
  7. int j = (int)ptr;
  8. // your code goes here
  9. return 0;
  10. }
Success #stdin #stdout 0s 3336KB
stdin
Standard input is empty
stdout
Standard output is empty