fork(1) download
  1. #include <stdio.h>
  2.  
  3. int main(void) {
  4. int x[10]={0,0,0,0,0,0,0,0,0,0};
  5.  
  6. int *p = x;
  7.  
  8. scanf("%d",&x[0]);
  9.  
  10. scanf("%d",&x[9]);
  11.  
  12. for(int i = 0;i<10;i++){
  13. printf(" %d ",&p[i]);
  14. }
  15.  
  16. return 0;
  17. }
  18.  
Success #stdin #stdout 0s 5280KB
stdin
5  10
stdout
  -843951728    -843951724    -843951720    -843951716    -843951712    -843951708    -843951704    -843951700    -843951696    -843951692