Home > Back-end >  When we assign a signed types beyond it represents the value, the result is undefined (undefined).
When we assign a signed types beyond it represents the value, the result is undefined (undefined).

Time:09-18

Signed char c2=256;//_assuming 8-bit chars_, _the value of c2 is__undefined_

When we assign a signed types beyond it said range value, the result is undefined (undefined),


-- -- --
256 is 00000001, 00000000, understand the c2 should not cut into 00000000, value of 0? Why is the book says it is undefined

CodePudding user response:

Said undefined refers to the uncertainty, because is beyond the scope, from is to pay
  • Related