fork download
  1. #include <stdio.h>
  2.  
  3. int main(void)
  4. {
  5.  
  6. unsigned int a = 10;
  7. unsigned int * p = &a;
  8.  
  9. if (sizeof(a) == sizeof(p))
  10. {
  11. a = (int)p;
  12. }
  13.  
  14. printf(" %x \n", a);
  15.  
  16. return 0;
  17. }
  18.  
Success #stdin #stdout 0s 2112KB
stdin
Standard input is empty
stdout
 bff4e35c