fork download
  1. #include <stdio.h>
  2.  
  3. int main(void) {
  4. int arr[10] = {0,1,2,3,4,5,6,7,8,9};
  5.  
  6. printf("%d\n", 5[arr]); // Prints 5
  7. }
  8.  
Success #stdin #stdout 0s 4384KB
stdin
Standard input is empty
stdout
5