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