fork download
  1. #include <stdio.h>
  2. #include <string.h>
  3.  
  4. int main(void){
  5. const char *str = "홍길동";
  6. size_t i, len=strlen(str);
  7. for(i=0;i<len;i++){
  8. printf("0x%02x ", str[i] & 0xff);
  9. }
  10. putchar('\n');
  11. return 0;
  12. }
Success #stdin #stdout 0s 10304KB
stdin
Standard input is empty
stdout
0xed 0x99 0x8d 0xea 0xb8 0xb8 0xeb 0x8f 0x99