fork download
  1. #include <iostream>
  2. using namespace std;
  3.  
  4. int main() {
  5. // your code goes here
  6. int arr[2] = {0,1};
  7. int *ptr = arr;
  8. int a = *++ptr;
  9. cout<<(ptr++)<<a<<endl;
  10. char *t = (char *)0x7ffc3e67ce84;
  11. cout<<*t;
  12.  
  13. return 0;
  14. }
Runtime error #stdin #stdout 0s 4196KB
stdin
Standard input is empty
stdout
0x7ffe29700d741