fork download
  1. /* Helloプログラム */
  2.  
  3. #include <stdio.h>
  4.  
  5. main()
  6. {
  7. int a[4];
  8. int n = 1;
  9.  
  10. a[0] = 1;
  11. a[1] = 2;
  12. a[2] = 3;
  13. a[3] = 4;
  14. printf("%d\n",a[n]);
  15. }
Success #stdin #stdout 0s 5284KB
stdin
Standard input is empty
stdout
2