Char Convert in Hex



  • How to make the envelope back from Hex to Char. I need to put Hex on the word "test" in a mass, and I don't understand how to do it.

    int main (){
    
    char* str = "test";
    
    printf("0x%p\n", str);
    
    return 0;
    

    }

    I've decided you can't move from Hex to the spell!



  • You don't understand that you want to answer you seriously.

    Here you go:

    unsigned long s = 'test';
    printf("%lX\n",s);
    

    Conclusion 74657374 And there's an idea. test 16.

    Just don't show me... :




Suggested Topics

  • 2
  • 2
  • 2
  • 2
  • 2
  • 2
  • 2
  • 2
  • 2
  • 2
  • 2
  • 2
  • 2
  • 2
  • 2