If the type of the value cannot be analyzed or detected by searching in bits (as written in the books I mentioned), how does the machine know how to manipulate the value?
C and C ++ are statically typed, which means that types are a compile-time concept. The compiler generates code to manipulate bits in a manner appropriate to the type; the machine executes this code, and it does not need to know anything about the type.
, . , .
: , . .
C ++ . , , MULTIPLY REAL MULTIPLY UNSIGNED INTEGER MULTIPLY SIGNED INTEGER. , *, - , .
*
It is known to the compiler at compile time. When the program starts, this memory area is controlled according to the compiled code. This is why C ++ and C # define type types in the source code.
Source: https://habr.com/ru/post/1525235/More articles:Is there a way to get JAVA to print blank CDATA inside Elements? - javaHow to run Selenium Scripts in web servers? - pythonForcing blank CDATA elements - xmlформатирование строки в python с элементами класса - pythonHow to get 2 columns from datatable in linq - c #The local shortcut on Visual Studio 2013 does not work - asp.netRequest an urgent phrase GPGME (Ruby) - ruby | fooobar.comXMLHttpRequest - release after use? - javascriptUsing a passphrase callback in ruby gpgme - ruby | fooobar.comRun the command on a new tab in the terminal - command-lineAll Articles