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