fork download
  1. #include <stdio.h>
  2. int main() {
  3. int n[5] = {5, 4, 3, 2, 1};
  4. for(int i=0; i<5; i++) {
  5. printf("%d ", n[-1]);
  6. }
  7. }
  8.  
Success #stdin #stdout 0.01s 5280KB
stdin
Standard input is empty
stdout
0 0 0 0 0