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