Answer Posted / jim
Question is in error! It should read -32768 to 32767.
An unsigned 16-bit value ranges from 0...65535.
In Hex 0...FFFF
A signed 16-bit value ranges from -32768 ... 32767
In hex 8000...7FFF
Just as 0 is 0, 1 is 1, 7FFF is 32767, FFFF is -1,
8000 is -32768.
So...
8000 FFFE FFFF 0 0001 0002 7FFF
-32768 -2 -1 0 1 2 32767
| Is This Answer Correct ? | 22 Yes | 3 No |
Post New Answer View All Answers
What is the value of c?
Why we use int main and void main?
In which layer of the network datastructure format change is done
Differentiate fundamental data types and derived data types in C.
What is structure in c language?
Write a program to print fibonacci series using recursion?
What is the advantage of a random access file?
What does %2f mean in c?
What is meant by high-order and low-order bytes?
What do you mean by a local block?
Can the “if” function be used in comparing strings?
What is stack in c?
What is meant by gets in c?
What’s a signal? Explain what do I use signals for?
Can I use base-2 constants (something like 0b101010)? Is there a printf format for binary?