-
What is the range of a signed char variable in C?
-
- 0 to 255
- -128 to 127
- 0 to 127
- -128 to 255
Correct Option: B
range of signed char variable is -128 to 127 because it is 1 byte long.
2 to the power 8 is 256, range included 256 numbers, as it is signed, include negative integers starting from -128 to 127.