fork download
  1. #include <stdio.h>
  2.  
  3. int main(void) {
  4. int a[5] = { 1, 2, 3, 4, 5 };
  5.  
  6. printf("%x\n", a);
  7. printf("%d\n", *(a + 1));
  8. printf("%d\n", a[2]);
  9. printf("%d\n", 3[a]);
  10.  
  11. return 0;
  12. }
  13.  
Success #stdin #stdout 0s 2248KB
stdin
Standard input is empty
stdout
bfbdaeec
2
3
4