The memory space taken for a signed char type data is
Answers
Answered by
2
Memory space taken by Char data type is 1 byte ,which is equal to 8 bits.
and one bit can have to possible values 0 and 1 .Hence 8 bit can be arranged in 256 combination of 0's and 1's.
2^8 == 256
and one bit can have to possible values 0 and 1 .Hence 8 bit can be arranged in 256 combination of 0's and 1's.
2^8 == 256
Attachments:
Answered by
1
Memory Space taken for a signed char type data is 1
Explanation:
- Data type: The system used extensively for declaring datatypes or functions of different types.
- The storage space for signed char is 1 and the value ranges from -128 to 127.
- Signed char is used for storing single character. The character are stored as per the ASCII Values.
- It is not necessary to mention "signed" keyword before char but need to mention "unsigned" keyword before char.
Similar questions