fork(1) download
  1. #include <stdio.h>
  2.  
  3. int main(void) {
  4. // your code goes here
  5. unsigned int p = 0x01234567;
  6. void *k =&p;
  7. int i;
  8. for(i = 0;i<8;i++)
  9. {
  10. printf("%8X\n", *(unsigned int *)(k));
  11. }
  12.  
  13. return 0;
  14. }
  15.  
Success #stdin #stdout 0s 5476KB
stdin
Standard input is empty
stdout
 1234567
 1234567
 1234567
 1234567
 1234567
 1234567
 1234567
 1234567