fork download
  1. #include <iostream>
  2.  
  3. int main() {
  4. // your code goes here
  5.  
  6. char array[] = {'a', 'b', 'c', 'd', 'e'};
  7.  
  8. std::cout << 2[array];
  9.  
  10. return 0;
  11. }
Success #stdin #stdout 0s 3096KB
stdin
Standard input is empty
stdout
c