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