How to convert UNICODE to ASCII?

Hot to convert string in C language to ASCII then ASCII into binary, plz i need a C code?

  • hot to convert string in C language to ASCII that ASCII into binary

  • Answer:

    To convert it into string. char output[1000]; int value = 5000; sprintf(output, "%d", value); printf("%s", output);// this will print 5000. output is "5000". To convert it into numbers. char *input = "5000"; int value; sscanf(input, "%d", & value); printf("%d", value); // this will print 5000. value is 5000.

EFZOMG75NAE74EAJ3UCM3WIUNA at Yahoo! Answers Visit the source

Was this solution helpful to you?

Related Q & A:

Just Added Q & A:

Find solution

For every problem there is a solution! Proved by Solucija.

  • Got an issue and looking for advice?

  • Ask Solucija to search every corner of the Web for help.

  • Get workable solutions and helpful tips in a moment.

Just ask Solucija about an issue you face and immediately get a list of ready solutions, answers and tips from other Internet users. We always provide the most suitable and complete answer to your question at the top, along with a few good alternatives below.