If i have a character 'V' and it's binary number is 01010110 Is there any formula to do it? like masking it with a bit or &? not sure if there's any bitwise operation for converting binary to ASCII in c
Asked
Active
Viewed 271 times
1 Answers
0
ASCII is one encoding scheme to map a integer stored in your computer memory to a visual character.
Meaning that using an ASCII table, you can see that 'V' is mapped to the integer decimal value '86' (note that for a program such table is not needed, as your value is already stored as an integer)
Then is is a matter of converting it to binary which is convered in other stack overflow question

dvhh
- 4,724
- 27
- 33
-
The link you've sent is converting ASCII to Binary but i'm not sure how do we do the opposite? – Stayalive Oct 03 '19 at 02:51
-
-