fork download
  1. #include <iostream>
  2. using namespace std;
  3.  
  4. int main() {
  5. int a[4] = {1, 2, 3, 0};
  6.  
  7. printf("%d", a[1 + 2[a]]);
  8. return 0;
  9. }
Success #stdin #stdout 0s 16064KB
stdin
Standard input is empty
stdout
Standard output is empty