Answer the question
In order to leave comments, you need to log in
How does the computer understand that the number is unsigned?
I want to figure out what happens when I enter unsigned, because the memory cell remains the same size. How does he understand that it must be read exactly as unsigned? Does it have a list of unsigned variables that should be read unsigned or what?
Answer the question
In order to leave comments, you need to log in
"Understands" the C++ compiler. When compiling, it translates the program into machine code, including taking into account the declared types of variables.
When executing the program, no "understanding" is required anymore, all actions are specified in the code.
Didn't find what you were looking for?
Ask your questionAsk a Question
731 491 924 answers to any question