fork(7) download
  1. #include <stdio.h>
  2.  
  3. int main()
  4. {
  5. int hour;
  6. char time[2];
  7. scanf("%d%s", &hour,time);
  8. printf("%d%s",hour,time);
  9. printf(" %x %x %x %x",&hour,time,time+1,time+2);
  10. return 0;
  11. }
Success #stdin #stdout 0s 2164KB
stdin
17PM
stdout
0PM bfa011bc bfa011ba bfa011bb bfa011bc