22nd Jun 2019, 10:49 AM
Sharma Abhishek
 Sharma Abhishek  - avatar
2 odpowiedzi
+ 2
A signed value will count its last digit (in binary) as negative value. In this example, a char has a size of 1 byte, 128 in binary is 1000000, therefore the last digit is actually -128. A char is also signed by default
22nd Jun 2019, 1:05 PM
Agent_I
Agent_I - avatar
+ 2
I think range of char is -128 to 127 and +128 is not n the range of char Therefore it is in -ve
30th Jun 2019, 9:17 AM
Sharma Abhishek
 Sharma Abhishek  - avatar