fork download
  1. #include <iostream>
  2. using namespace std;
  3.  
  4. int main() {
  5. int(*b)[2] = new int[2][2];
  6. b[1][1] = 42;
  7. int y = *(*b + 3);
  8. cout << y << endl;
  9. return 0;
  10. }
Success #stdin #stdout 0s 3468KB
stdin
Standard input is empty
stdout
42