How do computers different between symbols characters or integers having the same binary code | Sololearn: Learn to code for FREE!
New course! Every coder should learn Generative AI!
Try a free lesson
0

How do computers different between symbols characters or integers having the same binary code

Binary

18th Dec 2018, 12:41 PM
Steinium😎
Steinium😎 - avatar
2 Answers
+ 2
thank you
18th Dec 2018, 7:41 PM
Steinium😎
Steinium😎 - avatar
+ 1
The computer doesn't. The programmers or language does it. I can use "test" as an integer or string in C and it is completely my responsibility to handle it correctly. Other languages note the data type being stored in a location and prevent you from accessing it as some other type.
18th Dec 2018, 7:24 PM
John Wells
John Wells - avatar