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