fork download
  1. #include <iostream>
  2. using namespace std;
  3.  
  4. int main() {
  5. // your code goes here
  6. int a = 7;
  7. int *c = &a;
  8. cout << c << endl;
  9. c = c + 1;
  10. cout << c << endl;
  11. return 0;
  12. }
Success #stdin #stdout 0s 4276KB
stdin
Standard input is empty
stdout
0x7ffc6c537b44
0x7ffc6c537b48