fork download
  1. #include <iostream>
  2. using namespace std;
  3.  
  4. int main() {
  5. char t[3][3], *p = (char *)t;
  6.  
  7. for(int i = 0; i < 9; i++)
  8. *p++ = 'a' + i;
  9. cout << t[1][1];
  10. return 0;
  11. }
Success #stdin #stdout 0.01s 5288KB
stdin
Standard input is empty
stdout
e