Home > Back-end >  C/C size end is influential and assign casts
C/C size end is influential and assign casts

Time:10-16

Look up some information, size has no effect on numerical calculations, only to the address, a domain, then:
Int I=0 x1122;
Char c=(char) I;
Values are the same size to carry even the audience, c?

CodePudding user response:

Wait for the answer + +

CodePudding user response:

Does not affect, conversion is also occurs on the CPU, memory, not have nothing to do with storage structure
In the inside of the CPU registers and there is no relation between end, memory storage have this problem
  • Related