fork download
  1. #include <stdio.h>
  2.  
  3. int main(void) {
  4. int x[10]={0};
  5.  
  6. scanf("%d", x+5);
  7. scanf("%d", x+0);
  8.  
  9.  
  10.  
  11. for(int i=0; i<10; i++){
  12. printf("%d ",*(x+i));
  13. }
  14.  
  15. return 0;
  16. }
  17.  
Success #stdin #stdout 0s 5556KB
stdin
1
5
stdout
5 0 0 0 0 1 0 0 0 0